Topic: Support for validation on DatePicker, TimePicker, and DateTimePicker components
Currently your validation page says that it only supports MDBInput, MDBTextArea, MDBCheckbox, MDBRadio, MDBSelect, and MDBAutoComplete. It would be great if also supported MDBDatePicker, MDBTimePicker, and MDBDateTimePicker (as well as any of your other form components in which it could be applicable).
Link to validation page that I am using as reference: https://mdbootstrap.com/docs/vue/forms/validation/
Thanks so much!
Bartosz Cylwik staff answered 2 years ago
Hi! Datepicker and Timepicker has build in validation that you can use with attributes:
- 1) datepicker:
v-model:isValid
,v-model:isValidated
,validate
- 2) timepicker:
v-model:isValid
,v-model:isValidated
You can check my snippet, where i added some examples. https://mdbootstrap.com/snippets/vue/b-cylwik/5307945#html-tab-view
Best Regards!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Vue
- MDB Version: -
- Device:
- Browser:
- OS:
- Provided sample code: No
- Provided link: Yes