Magicsuggest / magicsuggest

Multiple Selection Combo Box using Bootstrap 3
nicolasbize.com/magicsuggest/
1.3k stars 269 forks source link

allowFreeEntries does not clean input text when no valid suggestion is written #343

Open fablexis opened 4 years ago

fablexis commented 4 years ago

Not sure if this plugin is still receiving maintenance, but I'm having an issue when setting allowFreeEntries to false, the thing is that based on the example of the usage of this property on the demo page, when setting allowFreeEntries to false as soon as you write something that does not match with some of the items in the input list and then you leave the input, the input content is cleaned, but when trying that locally, using the latest version that this repo has, the behavior is not what I mention... The input keeps its value despite the aforementioned property is set to false. So my question is, does the demo page have a different version of this plugin? What can I do to have this working as expected?

zergioz commented 3 years ago

I will have to look into this and let you know.