I want to have a text input which acts as a datalist because what im making has too many options to display as a regular list.
Something like this. Is there an aternative im not yet aware of?
<datalist id="player">
<option value="gary">
<option value="bob">
<option value="toni">
<option value="amy">
<option value="john">
</datalist>
There's no option as simple as a Datalist in html.
You would need to write events that would compare the current text if you want autocomplete, otherwise I'd just use the List Object.
Unfortunately that is not a solution for me, im wanting to add 100s or maybe even 1000s of items
Develop games in your browser. Powerful, performant & highly capable.
You could always use an Iframe with your own html, but getting the return isn't real simple.