OptionalautoFocus?: booleanOptionaldisabled?: booleanIndicates if the input is disabled.
Optionalid?: stringThe ID of the input.
Optionalinvalid?: booleanIndicates if the input is invalid.
OptionalisLoading?: booleanIndicates if the options are currently loading.
Optionalname?: stringThe name of the input.
OptionalonBlur?: () => voidA callback function to call when focus is removed from the input.
OptionalonFocus?: () => voidA callback function to call when the input becomes focused.
The options for the value.
Optionalplaceholder?: stringPlaceholder text to display when the value is blank.
A callback function to update the input value when a change happens.
OptionalsideEffect?: (v: T) => voidA side effect function to call when the value changes as a result of user interaction with this input, and not external updates to the field value.
The value of the input.
Indicates if the input should be auto-focused.