Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Calendar buttons submit forms

Marvin Herbold priority asked 3 years ago


In HTML the default <button> type, if you do not specify a type, is "submit".

The calendar creates navigation <button>s, without specifying types, so all of the navigation buttons end up being of type "submit".

This is problematic when wrapping a page in a <form>.

When attempting to navigate the calendar via the calendar buttons, the calendar ends up submitting the form, which is not desired.

Please update the calendar plugin to explicitly set the type to "button". This is a common issue across MDB components. Everywhere a button is created, if the button is not intended to submit a form, the type needs to be set to "button". I've run into this issue more than once already.


Michał Duszak staff answered 3 years ago


Hello, thank you for your feedback, we will take a closer look at this issue. By the time could you create a snippet with this problem so that we have an exact picture of your problem?



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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.7.1
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No