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
I use tagify with the suggested method for a dynamic whitelist via AJAX.
When you type in data architecture in the JSBin example above, it works as expected, but when you type data collaboration, and hit enter the resulting tag is data architecture. The suggestion stays even though the AJAX whitelist returns an empty list ([]) after the value data c.
This is not the case for Star Wars (present in the AJAX) and Star Gate (not present), or foo bar/foo test.
Setting dropdown.fuzzySearch to false "fixes" this behaviour for the data collaboration example. But is this expeced?
Prerequisites
Demo Page
https://jsbin.com/putacayuba/edit?html,js,console,output
Explanation
I use tagify with the suggested method for a dynamic whitelist via AJAX.
When you type in
data architecture
in the JSBin example above, it works as expected, but when you typedata collaboration
, and hit enter the resulting tag isdata architecture
. The suggestion stays even though the AJAX whitelist returns an empty list ([]
) after the valuedata c
.This is not the case for
Star Wars
(present in the AJAX) andStar Gate
(not present), orfoo bar
/foo test
.Setting
dropdown.fuzzySearch
tofalse
"fixes" this behaviour for thedata collaboration
example. But is this expeced?In case of a static whitelist with fuzzySearch enabled, it works as expected (https://jsbin.com/qeronobori/1/edit?html,js,output).
The text was updated successfully, but these errors were encountered: