Topic: Search in select doesn't work in modals

pavelpossiblep free asked 3 years ago

Expected behavior
being able to filter through options in select in modals.

Actual behavior
unable to activate the "search" field - it behaves as if it was disabled.

Also is there a way to customise the "Search" label? It seems that all the other label in select are customisable except for this one.

Arkadiusz Idzikowski staff answered 3 years ago

In v2.0.0 we added a new option container, that allows changing parent container for the select dropdown. In this case, you need to pass the modal container selector to this option.

Here is an example for the basic modal from our documentation:

<select class="select" data-container="#exampleModal"></select>

As for the 'search' label, currently, it's not possible to customize this value. We will add such an option in the next update.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: 2.0.0
  • Device: all
  • Browser: all
  • OS: all
  • Provided sample code: No
  • Provided link: No