5 ms·
Congrats. For version 6 can you please add an autocomplete input element/feature?
by towergratis 5y ago
Congrats. For version 6 can you please add an autocomplete input element/feature?
- 11235813213455 5y agoLike https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist https://developer.mozilla.org/en-US/docs/Web/HTML/Element/da...?
- pitaj 5y agoMany people need support for searching asynchronously over the network, but this is neat.
- jonny_eh 5y agoYou can append to the list.
- towergratis 5y agoYes. But Bootstrap themed.
- rovr138 5y agoit's a regular and standard input tag, https://jsfiddle.net/4qLv16sx/ https://jsfiddle.net/4qLv16sx/
- towergratis 5y agoThe input is, yes. But I don't think the suggestion box is, is it?
- 11235813213455 5y agoyea the suggestion list is a browser specific implementation, so it can vary, on Chrome you can do a little more by passing options labels: https://jsfiddle.net/caub/8cz7skvh/ https://jsfiddle.net/caub/8cz7skvh/ I use another native HTML more often: `<details>`
- ksherlock 5y agoBootstrap 2 had a typeahead but it was removed in BS 3. (Possibly in favor of twitter typeahead which was more active at the time.) https://getbootstrap.com/2.0.0/javascript.html#typeahead https://getbootstrap.com/2.0.0/javascript.html#typeahead https://twitter.github.io/typeahead.js/ https://twitter.github.io/typeahead.js/