Topic: Support for validation on DatePicker, TimePicker, and DateTimePicker components

LHanny priority asked 10 months ago

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:

Thanks so much!

Bartosz Cylwik staff answered 10 months 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.

Best Regards!

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes