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

Dave Moniz priority asked 3 years 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 3 years 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 priority commented 3 years ago

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


Dave Moniz priority answered 3 years ago


This was fixed as of MDB5 1.0.0.

Closing now.


FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 1.0.0-beta5
  • Device: PC
  • Browser: Google Chrome
  • OS: Arch Linux
  • Provided sample code: Yes
  • Provided link: No