You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 3, 2018. It is now read-only.
So let's say I have a list of employees stored in the database, the employee model looks something like this: { Id: 1, Name: 'John', Age: 56, Income: 5000 } now in order to bind the options to a v-model using a select element I'd have to something like this which is okay if I just do it once like in the sample, but way too messy when I start using it all across the app.
What I would suggest is something like this: <select v-model="name" options="names" text="Name" value="Id">, knockout offers something like that as demonstrated here.