I have a screen that works perfectly, in the empty template, I add a link that opens a modal to register a new option.
When registering, the user closes the modal, but when making a new call to the field, despite the call to the method, it is occurring correctly and bringing in the existing data and also the new data that has just been registered.
I'm using version 0.9.3 of https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md
I have a screen that works perfectly, in the empty template, I add a link that opens a modal to register a new option.
When registering, the user closes the modal, but when making a new call to the field, despite the call to the method, it is occurring correctly and bringing in the existing data and also the new data that has just been registered.
The plugin displays an empty list.