-
Notifications
You must be signed in to change notification settings - Fork 127
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
Validation #73
Comments
If it can help you, i did the following on my project:
But to do this (:error-messages) i had to fork the repo and do this: code Hope it helps. |
Thanks, bro @devstack-be, it did help me |
For others who is looking for validation you can just add :textFieldProps="{ rules: [v => !!v || "You have to select a date!"] }" as an example, |
The option above with a simple rule is working fine. In Vuetify components it's possible to use a method to validate more complex rules. Is it possible to use a rule with this component ? If not, how to validate complex validation rules ? |
Having trouble finding a way to validate this component. If I try to use the "rules" prop on either the datePickerProps or timePickerProps it breaks the code. Is there an existing prop for this component for passing in validation rules or is this something that has yet to be handled?
The text was updated successfully, but these errors were encountered: