Topic: How to filter within select tag

Mankongwatcharakul priority asked 5 years ago


Because I have a lot of item in select  I don't know how to filter Could you explain me?

If you want to enable filtering feature on our Material Select, please use searchable attribute. Example:
<select class="mdb-select" id="select" searchable="Find..." multiple="">
  <option value="" disabled selected>Choose your favorite song</option>
  <option value="1">Nothing else matters</option>
  <option value="2">November Rain</option>
  <option value="3">Bohemian Rhapsody</option>
  <option value="4">The Final Countdown</option>
  <option value="5">Smells Like Teen Spirit</option>
  <option value="6">Stairway to Heaven</option>
  <option value="7">Smoke on the water</option>
  <option value="8">Here I Go Again</option>
  <option value="9">Rock you like a Hurricane</option>
  <option value="10">Walk This Way</option>
  <option value="11">Another brick in the wall</option>
</select>
<label>Example label</label>


Mankongwatcharakul priority commented 5 years ago

Thank you so much. I'm a beginning of MDBboostrap


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: Priority
  • Premium support: Yes
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: all
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No