| ref | React.Ref<HTMLSelectElement> | undefined | — | Allows getting a ref to the component instance.
Once the component unmounts, React will set ref.current to null
(or call the ref with null if you passed a callback ref). |
|---|
| autoComplete | string | undefined | — | Native autocomplete hint appropriate to the field's actual purpose. |
|---|
| disabled | boolean | undefined | — | Make the supported control unavailable through its native or primitive disabled semantics. This does not disable arbitrary child links. |
|---|
| form | string | undefined | — | ID of the form associated with this control, including when it is rendered outside that form element. |
|---|
| multiple | boolean | undefined | — | Allow multiple values where the native element or primitive supports them, using its source-defined value shape. |
|---|
| name | string | undefined | — | Name used by the control's form submission or primitive form integration. |
|---|
| required | boolean | undefined | — | Mark this control as required using its native or primitive semantics. Consumers own contextual validation feedback. |
|---|
| value | string | number | readonly string[] | undefined | — | Current value in the shape defined by the source type. For controlled interactive inputs, apply updates from the change callback. |
|---|
| onChange | React.ChangeEventHandler<HTMLSelectElement, HTMLSelectElement> | undefined | — | Receive the native change event; read the actual control value or checked state from its event target. |
|---|
| defaultChecked | boolean | undefined | — | Initial checked state for a control supporting uncontrolled selection. Inherited DOM typing does not give a layout wrapper checkbox behavior. |
|---|
| defaultValue | string | number | readonly string[] | undefined | — | Initial value for a control supporting uncontrolled state. Inherited DOM typing alone does not give a layout wrapper input behavior. |
|---|
| autoFocus | boolean | undefined | — | Request automatic focus when the element mounts or the primitive opens, according to its source behavior. Choose initial focus deliberately in context. |
|---|
| className | string | undefined | — | Additional classes for this part. Preserve contrast, visible focus and responsive content when adapting styles. |
|---|
| id | string | undefined | — | Stable DOM identifier used by labels, descriptions or other explicit associations. |
|---|
| role | React.AriaRole | undefined | — | Semantic role appropriate to the rendered element. Preserve required relationships and keyboard behavior. |
|---|
| onFocus | React.FocusEventHandler<HTMLSelectElement> | undefined | — | Receive the native focus event. Preserve the component's existing keyboard and focus behavior. |
|---|
| onBlur | React.FocusEventHandler<HTMLSelectElement> | undefined | — | Receive the native blur event when focus leaves this control. |
|---|
| onKeyDown | React.KeyboardEventHandler<HTMLSelectElement> | undefined | — | Receive keyboard events. Preserve built-in keyboard behavior unless deliberately implementing an accessible alternative. |
|---|
| onClick | React.MouseEventHandler<HTMLSelectElement> | undefined | — | Receive activation events. The consumer owns the action performed and its result. |
|---|
| onSelect | React.ReactEventHandler<HTMLSelectElement> | undefined | — | Handle the selection event defined by this part's source signature. DOM text-selection events differ from menu or command activation callbacks. |
|---|