Combobox - Persist search on selection - Mendix Forum

Combobox - Persist search on selection

15

Currently when you search for a value with combobox and select an item, it adds the item to the list and clears the search field.

 

We just had a request from a client who would like the search field to stay and not disappear after selecting a value.

 

Eg, they are trying to add a list of users from a specific domain however they need to retype the domain every time they select someone.

 

image.png

asked
3 answers

First, store the selected value in a separate attribute (e.g., IsSelected) and commit the main object using an on-click or on-change action.

In the subsequent microflow, retrieve the list of items and filter only those where IsSelected = true. For each filtered item, check whether it already exists in the association. If the object is not found (i.e., the result is empty), add it to the association.

Created

Do we have any updates on the persistent search value?

Created

This would be really useful for us!

Created