Topic: How to disable MDB markup and handling of checkboxes and/or radio buttons on a page.
bpgillett pro answered 7 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 Szymanska staff pro premium 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 Szymanska staff pro premium commented 5 years ago
Hi,
thank you for the nice words. For now, do you need help from us with your code?
Best, Marta
Marta Szymanska staff pro premium answered 7 years ago
mslayton pro commented 7 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.Marta Szymanska staff pro premium answered 7 years ago
Marta Szymanska staff pro premium answered 7 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. Rossi pro answered 7 years ago
Marta Szymanska staff pro premium answered 7 years ago
xzesstence pro answered 6 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No