Request: value binding
Closed this issue · 5 comments
akhchan99 commented
Is it possible?
ssh-keyz commented
In toggle options, set sync to true.
euvl commented
Hi @akhchan99, as @tylerjheslop rightly said, just use sync=true
. Take a look in demo for examples and to readme for more info.
akhchan99 commented
What I want is the binding to a value other than boolean true/false, in the Vue inbox example, they have options to add these v-bind:true-value="a" v-bind:false-value="b"
euvl commented
Can't see reason to do it, why simply not to do: v-bind:value=" v === 'a' "
?