Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: How to disable material select / dropdown when using MDB Pro version?

camlynfx free asked 5 years ago


When using MDB Pro - the dropdowns don't show up unless I add the required JS and class name to select tag.

$(document).ready(function() { $('.mdb-select').materialSelect(); });

However, I want to know if I can disable this by default and use material design on selects only when required.



You can use the .browser-default class on the selects that you want to stay "normal"



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: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.7.4
  • Device: Desktop
  • Browser: Firefox
  • OS: Windows
  • Provided sample code: No
  • Provided link: No