Skip to content

SelectProps

SelectProps: object

Type declaration

NameTypeDescription
clearablebooleanWhether 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
disabledbooleanIf true, the component is disabled. Default false
errorobjectAn error message to display below the element when in an invalid state.
error.messagestring-
helpTextReact.ReactNodeExplanatory text to render below the element.
labelstringA user-friendly label displayed alongside the element.
namestringA unique name identifying the element within a form.
optionsobject[] | undefined
placeholderstringPlaceholder text displayed when no value is selected.
requiredbooleanWhen true, the element will be invalid when touched and no selection has been made. Default false