Search in select doesn't work in modals


Topic: Search in select doesn't work in modals

pavelpossiblep pro premium asked 5 months 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 5 months 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.