Skip to content

SelectProps

SelectProps = object

PropertyTypeDescription
clearable?booleanWhether 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?booleanIf true, the component is disabled. Default false
error?objectAn error message to display below the element when in an invalid state.
error.message?string-
helpText?React.ReactNodeExplanatory text to render below the element.
label?stringA user-friendly label displayed alongside the element.
name?stringA unique name identifying the element within a form.
optionsobject[] | undefined
placeholder?stringPlaceholder text displayed when no value is selected.
required?booleanWhen true, the element will be invalid when touched and no selection has been made. Default false