Re:Bringing Back Horizontal Rules in HTML Select Elements
by extra88 on Saturday January 27, 2024 @10:05AM
(#39156133)
That's a text input plus a datalist. Their browser implementations also have some issues but can do the job.
[ Parent
| on HN ]
Re:Bringing Back Horizontal Rules in HTML Select Elements
by moron4hire on Saturday January 27, 2024 @02:50PM
(#39159135)
There's a whole other ball of problem wax with input plus datalist. The options don't appear again if one has been selected already; the user first has to clear the input and then the list appears. Also, the input can't be strictly limited to the options in the datalist; the user could type in whatever they want and it's still "valid" and fulfills any required attribute added to the tag.