You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| type |`outward``inward`| The way the focus ring is animated and positioned. |`outward`|
13
+
| as |`keyof HTMLElementTagNameMap``React.ElementType`| Allows for more flexibility when supporting different elements that can act as a FocusRing. |`span`|
|`label`|`React.ReactNode`| — | The content to display as the label. |
15
+
|`selectedKey`|`Key`| — | The currently selected key in the collection (controlled). |
16
+
|`disabledKeys`|`Iterable<Key>`| — | The item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with. |
17
+
|`isOpen`|`boolean`|`false`| Sets the open state of the menu. |
18
+
|`isDisabled`|`boolean`|`false`| Whether the input is disabled. |
19
+
|`isRequired`|`boolean`|`false`| Whether user input is required on the input before form submission. |
20
+
|`isInvalid`|`boolean`|`false`| Whether the input value is invalid. |
21
+
|`validationBehavior`|`aria``native`|`aria`| Whether to use native HTML form validation to prevent form submission when the value is missing or invalid, or mark the field as required or invalid via ARIA. |
22
+
|`validate`|`(value: Key) => ValidationError``true`| — | A function that returns an error message if a given value is invalid. Validation errors are displayed to the user when the form is submitted if validationBehavior="native". For realtime validation, use the isInvalid prop instead. |
23
+
|`variant`|`filled``outlined`|`filled`| The type of the Select. |
24
+
|`popoverProps`|`PopoverProps`| — | Props that allow changing the popover placement, flip behavior, style etc. |
0 commit comments