Binding form inputs
Looking at our login form component template, you can see there are two inputs used: the email input and the password input. These receive two props: id
, and model
. We'll come back to these in a moment.
Let's firstly open the email input, and you'll see that this component contains a Vuetify component called v-text-field
which in turn wraps an HTML input element.
What's relevant here is that the input component binds a property value
with v-model
.
Click to load comments...