Combo box custom content display problem

0
I'm trying to use a combo box to create a label selector, but while I can customize the items in the list, the customized content isn't actually displayed in the input box.   Even after selection, the input box still displays an empty value.   My combo box settings are as follows:  
asked
1 answers
1

Hi Sally, 👋

It looks like the issue might be related to how the display attribute or caption expression is configured in your Combo Box settings. Here are a few things you can check:

  1. Display Attribute:

    • Go to your Combo Box properties → General tab → Caption (or Display attribute).

    • Make sure it points to a string attribute (like Name or LabelText) of the entity used as your data source.

  2. Verify the Data Source:

    • Ensure that the Combo Box data source is returning the correct list of items — whether it’s from a microflow, XPath, or association.

  3. If Using a Custom Expression:

    • In Appearance → Caption template, use

      {AttributeName}

      or a string expression like

    • $currentObject/Name

      Make sure the expression evaluates to text.

  4. For Multi-select Combo Box:

    • The display field may not automatically concatenate selected items.

    • In that case, you can bind the selected items to a non-persistent helper entity and use a text template or custom expression to display them properly.

  5. Recheck Read/Write Access:

    • If the attribute used in the Combo Box doesn’t have write access, Mendix won’t show or update the selected value in the input box.

  6. Optional Fix (UI Update):

    • Try clearing the browser cache or updating to the latest version of the Combo Box widget from the Mendix Marketplace.

Hopefully, this helps resolve the issue!

answered