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
{{ message }}
This repository has been archived by the owner on Mar 16, 2018. It is now read-only.
I tried to achieve a combo of two sources - one predefined and one remote.
I've set the data attribute to the local variable and update it from time to time (+triggering attribute data change).
Problem: sometimes it tries to get the default url ( like /search?q=... ) + the list won't get updated the moment it t gets changed by $input.setOptions({data:DATA_VAR})
triggering search() didn't help either...
any ideas?
The text was updated successfully, but these errors were encountered:
Hi, stryju. Mind posting a link to a live implementation showing the problem you’re having? It would help me understand the problem you’re having. Thanks!
can't really do that, tho i can describe it a bit more precise:
var dataA = [...];
$input.bind(event_for_keys, function(){
// here i get the values from external source, like php or so
// and update the dataA
$input.setOptions({data:dataA}); // now it would be nice to trigger the list update, because it is not triggerend somehow...
}).autocomplete({data:dataA});
hope u got enought info :)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hey.
I tried to achieve a combo of two sources - one predefined and one remote.
I've set the
data
attribute to the local variable and update it from time to time (+triggering attributedata
change).Problem: sometimes it tries to get the default url ( like
/search?q=...
) + the list won't get updated the moment it t gets changed by$input.setOptions({data:DATA_VAR})
triggering
search()
didn't help either...any ideas?
The text was updated successfully, but these errors were encountered: