Closed sudheer-gowrigari closed 1 week ago
<input>
in <select>
is not web compatible, it needs to close the select
. See https://github.com/whatwg/html/issues/10310
HTML has input
+datalist
for combobox. While there are many issues with it, they might be solvable.
@zcorpan input + datalist and an input inside of select aren't necessarily always the same bahaviour though. At least I envisage one to be open ended with suggestions and one to be bounded where the input is doing filtering on a fixed set?
Having said that if it's not web compatible we'll need a different idea. Maybe a texarea (bit odd ergonomically but if it's web compatible?)
The Open UI Community Group just discussed Explore `<input>` Element as a child within `<select>` for Combobox
, and agreed to the following:
RESOLVED: the input should not be allowed within the select. The combobox should be implemented as a new element or as part of e.g. input/datalist.
Following recent discussions and resolutions (https://github.com/openui/open-ui/issues/939#issuecomment-1910837275) around the
combobox
anatomy, this issue aims to explore the potential benefits and implications of integrating an<input>
element as a child of the<select>
element, which could potentially enable us to achieve all the functionalities of acombobox
.