Topic: How to set invalid message for TimePicker

ITOPS free asked 3 years ago

How do you specify the validation message for the timepicker? I am trying to use the data-mdb-timepicker-invalidLabel attribute but am not having any success

Thank you

Dawid Wajszczuk staff commented 3 years ago

Hi. It seems to be some kind of bug. We will take a closer look at this case.

Dawid Wajszczuk staff answered 3 years ago


You just need to replace data-mdb-timepicker-invalidLabel with data-mdb-invalid-label on div. Here is the snippet

Keep coding,

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: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.7.1
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes