Date picker blocks enter key from submitting form

Topic: Date picker blocks enter key from submitting form

GolfHOuse free asked 2 years ago

If the date picker plugin is part of a form, the form cannot be submitted by an enter keypress.

I created a snippet as an example. If you place the cursor in the second text field and hit the enter key the form is not submitted. As soon as the function call to pickadate() is removed it works as expected.

Mateusz Łubianka staff answered 2 years ago

Hi @GolfHOuse,

It's look like a little bug in datepicker. I created a task with this problem and our team will fix this as soon as possible.


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
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.12.0
  • Device: Desktop
  • Browser: Firefox 70.0.1
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes