Topic: How to disable MDB markup and handling of checkboxes and/or radio buttons on a page.
mslayton pro asked 6 years ago
Marta Wierzbicka staff answered 6 years ago
xzesstence pro commented 5 years ago
Thanks Marta, i managed that past project with success but many workarounds from my side were needed. I see much has changed since then... keep on!
Marta Wierzbicka staff commented 5 years ago
Hi,
thank you for the nice words. For now, do you need help from us with your code?
Best, Marta
xzesstence pro answered 6 years ago
Marta Wierzbicka staff answered 6 years ago
Marta Wierzbicka staff answered 6 years ago
mdb.scss
file these two lines:
@import "pro/forms";
@import "pro/radio";
and after that compile mdb.css
once again without our styles for radio buttons.
bpgillett pro answered 6 years ago
I have this need as well for a form with radios. I want to use MDB for everything except for my forms that use radio selectors. I have a javascript listener that checks for anytime the user makes a radio selection, but this will not work with MDB because MDB hides the actual radio controls.
My Code:
$(document).ready(function() {
$('input[type=radio]').click(function(event) {...}
I can not use the ids of the forms bc they are dynamically created, and I need to listen for anytime that a radio is clicked on any form.
Thank you in advance.
Best, Brian
Marta Wierzbicka staff answered 6 years ago
Marta Wierzbicka staff answered 6 years ago
mslayton pro commented 6 years ago
Actually the opposite is the case. jqGrid plugin uses standard HTML checkboxes, MDB has customized checkboxes. I want to disable the MDB markup changes and revert to standard HTML checkboxes on one page of a website that uses jqGrid plugin.FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No