datepicker-toggle-button and timepicker-toggle-button submit


Topic: datepicker-toggle-button and timepicker-toggle-button submit forms due to missing type="button"

Dave Moniz pro premium priority asked 6 months ago

Expected behavior

datepicker-toggle-button and timepicker-toggle-button can be clicked without submitting forms

Actual behavior

datepicker-toggle-button and timepicker-toggle-button submit forms due to missing type="button"


Arkadiusz Idzikowski staff answered 6 months ago

@Dave Moniz This problem was already reported here (for datepicker, but we will check other forms components as well):

https://mdbootstrap.com/support/angular/mdb5-datepicker-toggle-submits-form/

You can find a temporary workaround for this problem in this thread.


Dave Moniz pro premium priority commented 6 months ago

Thanks, I normally check first if someone has reported my issue before me. This time I forgot.


Dave Moniz pro premium priority answered 5 months ago

This was fixed as of MDB5 1.0.0.

Closing now.


Status

Closed

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 1.0.0-beta5
  • Device: PC
  • Browser: Google Chrome
  • OS: Arch Linux
  • Provided sample code: No
  • Provided link: No