InputText

The InputText component is a text input field.

# Basic Usage


InputText Component Props

PropTypeDescription
classNamestringAdditional CSS classes.
namestringIdentifier for the input in form submission.
labelstringLabel text for the input field.
optionsArrayAvailable text 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 values 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.