Topic: MDB Date Picker
Expected behavior I want to add validation to MDB date picker. If I select the date which is less than today, then I want to show MDB validation error message.
Currently there is a bug, if I click on date picker and de-select the same date again it reverts changes the year to 1913 or somthing like that. Also if i set editable as true in intialization then the datepicker pop does not go away
Actual behavior
Resources (screenshots, code snippets etc.)
Marta Szymanska staff pro premium answered 6 years ago
Hi,
would you create a snippet showing the problem here: https://mdbootstrap.com/snippets/? I'll try to help you.
Best, Marta
lharris1 answered 6 years ago
I hope i'm not hijacking this thread, but I've also run into this issue when editable is set to true in the datepicker and the popup never closes. here's a snippet showing the behavior: https://mdbootstrap.com/snippets/jquery/lharris1/777356
Magdalena Dembna staff premium commented 6 years ago
Unfortunately your snippet was not found. Can you make sure it's public?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.0
- Device: Windows 10 PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No