Topic: Why has the disabled first option the primary background when use md-Select with .dropdown-primary?
Rocks360 pro asked 6 years ago
<select class="mdb-select dropdown-primary"> <option value="" disabled selected>Choose your option</option> <option value="1">Option 1</option> <option value="2">Option 2</option> <option value="3">Option 3</option> </select> <label>Example label</label>Because the .dropdown-primary [...] li.active has "background-color: #4285f4 !important;" and the .select-dropdown li.disabled has "background-color: transparent !important;" But it is ignored. Does anyone other have the following problem and have an fix for it? Exact jquery mdbootstrap version is use is MDB_GULP_PRO_4.5.12.ZIP
Piotr Glejzer staff answered 6 years ago
Piotr Glejzer staff answered 6 years ago
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: 4.5.10
- Device: MacBook Pro
- Browser: Safari
- OS: macOS
- Provided sample code: No
- Provided link: No