Appearance
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
Prop | Description | Options |
---|---|---|
name | the field name of the input | |
label | the text label of the input | |
classes | additional comma delimited list of css classes to apply to the input element |
Component Events
Event | Description | Args |
---|---|---|
-- |
CSS Classes
Class | Description |
---|---|
.input-error | the class applied when there is a validation error |