Native <select> styled with the hl-select primitive, wrapped so a custom caret can be drawn purely in CSS. Native selects keep full mobile/keyboard behavior for free. Inside a Field it picks up id, aria-describedby, aria-invalid, and required.
<select>
hl-select
id
aria-describedby
aria-invalid
required
Readonly
Optional
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Legacy React Docs
Ignored by React.
Only kept in types for backwards compatibility. Will be removed in a future major release.
Native
<select>styled with thehl-selectprimitive, wrapped so a custom caret can be drawn purely in CSS. Native selects keep full mobile/keyboard behavior for free. Inside a Field it picks upid,aria-describedby,aria-invalid, andrequired.