Home can,t able to save hindi unicode character into mongodb for multiple fields
Reply: 0

can,t able to save hindi unicode character into mongodb for multiple fields

Virender singh Rathore
1#
Virender singh Rathore Published in 2018-01-13 06:43:00Z

can,t able to save hindi unicode character into mongodb for multiple fields

  const WordsSchema = mongoose.Schema({

  word1:{
    type: String,
    required: true,
      language_override:"Hindi"
  },
  word2:{
    type: String,
    required: true,
      language_override:"Hindi"
  }
});

on setting language_override i able to save word1 but it don,t save word2

Code on angular side is ->

 <input class="form-control keyboardInput" id="Hindimeaning" [(ngModel)] ="word1" name="word1" placeholder="Meaning in Hindi 1" type="text">

<input class="form-control keyboardInput" id="Hindimeaning2" [(ngModel)] ="word2" name="word2" placeholder="Meaning in Hindi 2" type="text">

how can i save value for both inputs ....

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.343395 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO