An input widget for editing a single line of text.
TextInput supports the v-model directive.
v-model
type: Boolean
Whether the widget is read-only or editable.
type: String
One of: text, password or search. The default type is text.
text
password
search
The current text displayed in the widget.
Called when the text is changed. The current text is passed as an argument.
Last updated 7 years ago
<TextInput v-model="text"/>