Topic: How to disable MDB markup and handling of checkboxes and/or radio buttons on a page.

mslayton pro asked 6 years ago


I have a page that is using jQuery plugin jqGrid with checkboxes which are not getting handled properly with MDB Pro 4.5. How can I disable MDB Pro for just the checkboxes on this one page so the handling is done by jqGrid?

Marta Wierzbicka staff answered 6 years ago


Hi, xzesstence, could you explain exactly what you would like to create? I'll try to help you. Best, Marta

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


same problem here... im really disappointed buying pro... could have been done much better. take a look at primeng which is free.. at least this is what i expect when i pay money for it

Marta Wierzbicka staff answered 6 years ago


Hi Rossi, I'm not sure what you mean, please, describe your problem in details and attach any demo or code showing the problem. I'll try to help you. Best, Marta

Rossi pro answered 6 years ago


Hello, I can't handling event to with radio buttons for pro ...

Marta Wierzbicka staff answered 6 years ago


Hi Brian, this what I can offer you, in this case, is to comment or remove in 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


Hi, do you use our SCSS files or only mdb.css file? Best, Marta

Marta Wierzbicka staff answered 6 years ago


Hi, To understand well, you have a plugin with custom checkboxes which work wrong with MDB package and you would like to disable MDB styles for the site where you use this plugin? Tell me more information, please or maybe show me any demo? Best, Marta

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.


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: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags