ivirabyan / jquery-mentions

Adds mentioning support to your text fields.
http://ivirabyan.github.io/jquery-mentions/
MIT License
114 stars 49 forks source link

Can I custom key/pair from uid&value to my own data. #80

Closed underdogdude closed 6 years ago

underdogdude commented 6 years ago

If it possible to change key/pair of uid,value,image to my own custom key like this

data = [
{
      id : 1,
      name : 'mention1'
},{
      id : 2,
      name : 'mention2'
},{
      id : 3,
      name : 'mention3'
}];
ivirabyan commented 6 years ago

I'm afraid it's not possible without modifying the original code