The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Bind Values to Input Fields in Vue.js

Bind Values to Input Fields in Vue.js

1:47
Use `v-model` to create 2-way data binding. You can render dynamic options in a select element and bind them to their data. Use `v-bind` on inputs to use dynamic properties on the Vue instance. Adding modifiers like `.lazy`, `.number` and `.trim` allow us to trim our methods and let Vue take care of things like trimming white space.
Watch this lesson now
Avatar
egghead.io

Use v-model to create 2-way data binding. You can render dynamic options in a select element and bind them to their data. Use v-bind on inputs to use dynamic properties on the Vue instance. Adding modifiers like .lazy, .number and .trim allow us to trim our methods and let Vue take care of things like trimming white space.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?