You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fantastic plugin. Is it possible to let the user add an item to the values array on the fly? If they want to add a hashtag that isn't already in the hashValues array, is it possible to dynamically insert it in the array?
I tried doing this with a content change listener on the quill box - picking up the typed hashtag and adding it to the array - but it is a clunky and less-than-great implementation.
Would appreciate any help or pointers. Thanks!
The text was updated successfully, but these errors were encountered:
suparnavg
changed the title
Add an item to the values array
Dynamically add an item to the values array
Aug 24, 2018
Yes, that is what you have the source callback for. You probably want to call something like jquery ajax with the search term and return matching results to the renderList function.
Fantastic plugin. Is it possible to let the user add an item to the values array on the fly? If they want to add a hashtag that isn't already in the hashValues array, is it possible to dynamically insert it in the array?
I tried doing this with a content change listener on the quill box - picking up the typed hashtag and adding it to the array - but it is a clunky and less-than-great implementation.
Would appreciate any help or pointers. Thanks!
The text was updated successfully, but these errors were encountered: