Re:Bootstrap 5 Released
by towergratis on Wednesday May 05, 2021 @04:16PM
(#27055110)
Congrats. For version 6 can you please add an autocomplete input element/feature?
[ Parent
| on HN ]
Re:Bootstrap 5 Released
by 11235813213455 on Wednesday May 05, 2021 @04:31PM
(#27055340)
Many people need support for searching asynchronously over the network, but this is neat.
You can append to the list.
Re:Bootstrap 5 Released
by towergratis on Wednesday May 05, 2021 @04:58PM
(#27055734)
Yes. But Bootstrap themed.
it's a regular and standard input tag, https://jsfiddle.net/4qLv16sx/
Re:Bootstrap 5 Released
by towergratis on Wednesday May 05, 2021 @07:40PM
(#27057340)
The input is, yes. But I don't think the suggestion box is, is it?
Re:Bootstrap 5 Released
by 11235813213455 on Thursday May 06, 2021 @01:45PM
(#27066754)
yea 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/
I use another native HTML more often: `<details>`
Bootstrap 2 had a typeahead but it was removed in BS 3. (Possibly in favor of twitter typeahead which was more active at the time.)