How to set invalid message for TimePicker


Topic: How to set invalid message for TimePicker

ITOPS asked 4 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

https://mdbootstrap.com/snippets/standard/itops/3113959

Thank you


Dawid Wajszczuk staff commented 4 years ago

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


Dawid Wajszczuk staff answered 4 years ago

Hi,

You just need to replace data-mdb-timepicker-invalidLabel with data-mdb-invalid-label on div. Here is the snippet https://mdbootstrap.com/snippets/standard/d-wajszczuk/3121248.

Keep coding,
Dawid


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: 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