SelectProps
SelectProps:
object
Type declaration
Name | Type | Description |
---|---|---|
clearable | boolean | Whether or the field can be cleared by the user. When true , the Select will render an icon that allows the user to clear the current selected value. The icon does not appear when no value is selected. Default false |
disabled | boolean | If true , the component is disabled. Default false |
error | object | An error message to display below the element when in an invalid state. |
error.message | string | - |
helpText | React.ReactNode | Explanatory text to render below the element. |
label | string | A user-friendly label displayed alongside the element. |
name | string | A unique name identifying the element within a form. |
options | object [] | undefined | |
placeholder | string | Placeholder text displayed when no value is selected. |
required | boolean | When true , the element will be invalid when touched and no selection has been made. Default false |