We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be nice if the component would clear the input field when adding items with the javascript callback.
My current workaround is to "manually" clear the input after calling the "add" method.
var autoSuggest = $(autosuggestFieldId); options.start = function(callbacks){ addItem = callbacks.add; }; autoSuggest.autoSuggest(..., options); ... addItem(item); autoSuggest.val('');
Btw, using the callbacks for adding items might be something to be added to documentation, took a while to figure out how it works.
The text was updated successfully, but these errors were encountered:
Merge pull request hlsolutions#19 from jerefrer/master
44ca85e
Allows selection by hitting ENTER if neverSubmit is true
No branches or pull requests
It would be nice if the component would clear the input field when adding items with the javascript callback.
My current workaround is to "manually" clear the input after calling the "add" method.
var autoSuggest = $(autosuggestFieldId);
options.start = function(callbacks){
addItem = callbacks.add;
};
autoSuggest.autoSuggest(..., options);
...
addItem(item);
autoSuggest.val('');
Btw, using the callbacks for adding items might be something to be added to documentation, took a while to figure out how it works.
The text was updated successfully, but these errors were encountered: