Topic: Secondary text inside select is not filterable
Joachim Schneider pro premium priority asked 3 years ago
Expected behavior
When setting data-mdb-filter="true"
, the secondary text should be included inside filter.
Actual behavior The secondary text is ignored inside filter
Resources (screenshots, code snippets etc.)
<select class="select" data-mdb-option-height="44" data-mdb-filter="true">
<option value="1" data-mdb-secondary-text="Secondary text">One</option>
<option value="2" data-mdb-secondary-text="Secondary text">Two</option>
<option value="3" data-mdb-secondary-text="Secondary text">Three</option>
<option value="4" data-mdb-secondary-text="Secondary text">Four</option>
<option value="5" data-mdb-secondary-text="Secondary text">Five</option>
</select>
Is there a way to support filtering for "One", "Two"... inside the secondary-text?
Thanks a lot.
Dawid Wajszczuk staff answered 3 years ago
Hi,
There is no such option to include secondary text into searching.
Keep coding,
Dawid
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.9.0
- Device: Web
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No