Skip to content

TextInput

The TextInput component provides a convenient text field complete with label and validation support.

Examples

html
<TextInput label="First Name" name="first_name" />

An example can be seen in /frontend/views/LoginView.vue

Component Props

PropDescriptionOptions
namethe field name of the input
labelthe text label of the input
classesadditional comma delimited list of css classes to apply to the input element

Component Events

EventDescriptionArgs
--

CSS Classes

ClassDescription
.input-errorthe class applied when there is a validation error