Date picker blocks enter key from submitting form


Topic: Date picker blocks enter key from submitting form

GolfHOuse asked a year 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 a year 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.

Best,


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.12.0
  • Device: Desktop
  • Browser: Firefox 70.0.1
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes