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
Sometimes it is necessary to change the style under different results, just like success and error
So, I added in:
bootstrap-ajax-typeahead/js/bootstrap-typeahead.js
Line 204 in 530ae7f
to:
data = that.ajax.preProcess(data, this.$element);
other:
Lines 179 to 181 in 530ae7f
var params = this.ajax.preDispatch ? this.ajax.preDispatch(query, this.$element) : { query: query };
Lines 106 to 110 in 530ae7f
if (this.options.onSelect) { this.options.onSelect({ value: value, text: text }, this.$element); }
Now, I can change icon after loading
preProcess(data, elem){ if(data.success){ return data; }else{ $(elem).addClass('valid-error'); } }
A little suggestion, Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Sometimes it is necessary to change the style under different results, just like success and error
So, I added in:
bootstrap-ajax-typeahead/js/bootstrap-typeahead.js
Line 204 in 530ae7f
to:
other:
bootstrap-ajax-typeahead/js/bootstrap-typeahead.js
Lines 179 to 181 in 530ae7f
bootstrap-ajax-typeahead/js/bootstrap-typeahead.js
Lines 106 to 110 in 530ae7f
Now, I can change icon after loading
A little suggestion,
Thanks
The text was updated successfully, but these errors were encountered: