Wrap the component in your own, then using the validate property. https://vuejs.org/v2/guide/components.html#Prop-Validation
Complete the validation in the component or system that is managing whatever variable you are trying to validate.
@johnleider it would be great to see some form validation examples inside of the form section documentation. Some basic field input error handling would be awesome
+1 on this; would be great to see some sort of Form component that houses all of the form's errors so that it can be evaluated easily before submitting a form, for example. I love this library, thanks @johnleider
This may be something that is done after the Vuetify core is finished. No
promises though.
On May 8, 2017 8:27 AM, "Wes Dews" notifications@github.com wrote:
+1 on this; would be great to see some sort of Form component that houses
all of the form's errors so that it can be evaluated easily before
submitting a form, for example. I love this library, thanks @johnleider
https://github.com/johnleider
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vuetifyjs/vuetify/issues/44#issuecomment-299853119,
or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIpOghVMdMJblfSGYzB_x-Ay6mRjFiHSks5r3wo-gaJpZM4LXGws
.
+1
This is also not very hard to do yourself. Here's one that I've used before.
https://gist.github.com/nekosaur/1da5fed1abcd7ccbf077e86d33e94183
@nekosaur nice example!
Most helpful comment
+1 on this; would be great to see some sort of Form component that houses all of the form's errors so that it can be evaluated easily before submitting a form, for example. I love this library, thanks @johnleider