Topic: Table Editor Bug
Expected behavior The table should not refresh the entire page.
Actual behavior When using Bootstrap 5 Table editor plugin within a form and the trash or any icon for the table is pressed, the whole page refreshes, even when using a preventDefault.
I had to change the element to a standard
Resources (screenshots, code snippets etc.)
kpienkowska staff answered 2 years ago
I've prepared a snippet: https://mdbootstrap.com/snippets/standard/kpienkowska/5291762
You can see there that the send
button refreshes the page (because its type is submit
) but the table buttons or search button are not.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.3.1
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No