Comments (3)
V-model is already integrated into each of the fields as their value. To programatically manipulate it use setValue. To get the value simply get the value prop off the field. Assign a v-ref to the field to access its methods and props
Sent from my Samsung device
-------- Original message --------
From: rkrishnamoorthy [email protected]
Date: 2016/07/12 4:19 AM (GMT+02:00)
To: matfish2/vue-formular [email protected]
Subject: [matfish2/vue-formular] Integration with v-model (#6)
Hi
Thanks for this component. Love the ease of use.
But how do you integrate it with v-model ?
Cheers, rk
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from vue-formular.
What i meant was with Vue's two-way binding framework. I cant specify on
the tag a v-model attribute
On Tue, Jul 12, 2016 at 12:24 PM, Matanya [email protected] wrote:
V-model is already integrated into each of the fields as their value. To
programatically manipulate it use setValue. To get the value simply get the
value prop off the field. Assign a v-ref to the field to access its methods
and propsSent from my Samsung device
-------- Original message --------
From: rkrishnamoorthy [email protected]
Date: 2016/07/12 4:19 AM (GMT+02:00)
To: matfish2/vue-formular [email protected]
Subject: [matfish2/vue-formular] Integration with v-model (#6)Hi
Thanks for this component. Love the ease of use.
But how do you integrate it with v-model ?
Cheers, rk
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#6 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AJa3KCeet29vaCK7e2UuMPDHLcgJLgOaks5qUxcbgaJpZM4JJ8ts
.
from vue-formular.
As I already explained v-model
is set inside each field's template.
You can't set a v-model on anything other than form inputs (https://vuejs.org/guide/forms.html).
The value
prop is serving the same purpose of v-model
.
from vue-formular.
Related Issues (15)
- After submit redirect via vue-router HOT 1
- Any plans on Vue 2 support now that the RC is out? HOT 1
- How to reset form errors HOT 4
- Bind to hasError property of the form HOT 4
- about V-select HOT 2
- How to add a listener by event? HOT 4
- v-date can not disabled? HOT 3
- Unable to run with webpack/ES6/babel/? HOT 6
- Add autofocus / focus event HOT 1
- Form elements in components are not recognized HOT 2
- Adding errors when using "client" mode HOT 8
- Issue in V-Select HOT 10
- how to get programmatically if form has validation errors HOT 2
- additionalPayload doesn't respect change HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-formular.