Coder Social home page Coder Social logo

Integration with v-model about vue-formular HOT 3 CLOSED

matfish2 avatar matfish2 commented on June 14, 2024
Integration with v-model

from vue-formular.

Comments (3)

matfish2 avatar matfish2 commented on June 14, 2024

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.

rkrishnamoorthy avatar rkrishnamoorthy commented on June 14, 2024

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 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.


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.

matfish2 avatar matfish2 commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.