InputText is an extension to standard input element with theming.
InputText is used as a controlled input with v-model properties.
An advisory text can be defined with the semantic small tag.
A floating label appears on top of the input field when focused. Visit FloatLabel documentation for more information.
Specify the variant property as filled to display the component with a higher visual emphasis than the default outlined style.
Invalid state is displayed using the invalid prop to indicate a failed validation. You can use this style when integrating with form validation libraries.
When disabled is present, the element cannot be edited and focused.
InputText component renders a native input element that implicitly includes any passed prop. Value to describe the component can either be provided via label tag combined with id prop or using aria-labelledby, aria-label props.
Key | Function |
---|---|
tab | Moves focus to the input. |