-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow objects passed as data #471
Comments
Currently it can only be achieved through https://jsfiddle.net/6dsu4kjh/ This is a good idea, I will consider adding |
@NightCatSama okay thanks. v-model should hold the complete object then I think |
The |
In version 3.2.0 data already supports object types. |
@NightCatSama There is no documentation about it, would be nice if you could add it :D |
Nice. On the range page, it's unclear how to archive two or more sliders, an hint that the value should be an array representing multiple sliders would be helpful :) |
Thanks for your suggestions, the documentation has been updated. |
Describe the feature
It would be nice to pass an array of objects to the data prop. Than you should be able to specify the property for the value and for the marks.
And v-model reflects the current choose, so selecting 'String 2' will change selected to '2' and 'Number 1' to 1.selected should hold the complete object.
The text was updated successfully, but these errors were encountered: