InputSearch

A search input with optional autocomplete and multi-select functionality.

# Basic Usage


InputSearch Props

PropTypeDescription
classNamestringAdditional CSS classes.
namestringIdentifier for the input in form submission.
labelstringLabel text for the input field.
optionsArrayAvailable search options.
alignstringText alignment (left, center, right).
prefixstringPrefix text displayed before the input value.
postfixstringPostfix text displayed after the input value.
minLengthnumberMinimum input length.
maxLengthnumberMaximum input length.
funcDeletefunctionFunction to handle deletion of selected value.
registerfunctionFunction to register the input with the useForm hook.
uppercasebooleanForces text to be uppercase.
multiplebooleanAllows multiple file selection.
requiredbooleanSpecifies if the field is required.
focusedbooleanWhether the input should be focused on mount.
autoCompletebooleanEnables or disables autocomplete (on, off).
disabledbooleanDisables interaction with the input field.