Topic: Calendar buttons submit forms
Marvin Herbold priority asked 2 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 2 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?
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: 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