MDB Date Picker


Topic: MDB Date Picker

BizRTC pro asked 5 years ago

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 5 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 5 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 5 years ago

Unfortunately your snippet was not found. Can you make sure it's public?


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: 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