Topic: How to set invalid message for TimePicker
                  
                  ITOPS
                  free
                  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
                        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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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
 
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.