#1712090133
[ webdev ]
The datalist element is pretty cool. You can make dropdown inputs that are still editable realy easy. Came in handy today.
<label>
Choose a flavor:
<input list="ice-cream-flavors" name="ice-cream-choice" />
</label>
<datalist id="ice-cream-flavors">
<option value="Chocolate"></option>
<option value="Coconut"></option>
<option value="Mint"></option>
<option value="Strawberry"></option>
<option value="Vanilla"></option>
</datalist>
Source example: MDN Web Docs