Combo box

Content Type: Widget
Categories: User Interface

Overview

The Combo box widget displays a list of options that users can select from and supports

  • Associations
  • Enumeration and Boolean attributes
  • Multi-selection for reference sets
  • Type-ahead to filter options
  • Custom content rendering (e.g. to add images next to the caption)
  • Custom footer (e.g add button below the option list)

This widget is the successor of the Drop-down, Reference selector, Reference set selector, and Input reference set selector widget.

Documentation

Please see Combo box in the Mendix documentation for details.

Releases

Version: 2.10.0
Framework Version: 10.22.0
Release Notes: ### Fixed

- We fixed an issue where selecting all of the typed text in a multi-select combobox and pressing Backspace did not permanently clear it, so the text reappeared after clicking away and back into the combobox.

- We fixed an issue where removing a selected item of a multi-select combobox with Backspace or Delete moved keyboard focus out of the combobox, unless the removed item was the last one. Focus now stays on the selected items so you can keep navigating and removing them with the keyboard.

- We improved the reliability of the `On change` action.
Version: 2.9.0
Framework Version: 10.22.0
Release Notes:

### Fixed


- We fixed an issue where the custom editability condition (`never` or `conditionally`) was ignored when the combobox attribute was present and editable.


- We fixed an issue where the editability setting was inverted: setting editability to `false` allowed editing, and setting it to `true` prevented editing. The editability condition expression now behaves correctly: `true` means editable, `false` means read-only.


### Breaking changes


- The editability fix above is a potential breaking change. Apps that worked around the bug by inverting their editability expression will now have the opposite (incorrect) behavior after upgrading. Review any combobox widgets using a custom editability expression and remove the inversion workaround, otherwise fields may unexpectedly become editable or read-only.

Version: 2.8.2
Framework Version: 10.22.0
Release Notes:

Fixed

 

- We fixed an issue where the combobox collapsed to 1px width when placed inside a flex row container with `align-items: center`.

 

- We fixed an issue where the widget crashed when using the "On filter input change" action with the new string behavior enabled.

Version: 2.8.1
Framework Version: 10.22.0
Release Notes: ### Fixed

- We fixed an issue where the combobox in database mode did not update its displayed value when the attribute was changed externally (e.g., via a popup combobox).
Version: 2.8.0
Framework Version: 10.22.0
Release Notes:

Added

 

- We introduced a new "On change" action in Database mode that fires only when the selection changes, unlike the previous behavior that fired on initialization.

 

Changed

 

- We renamed the "On change" action in Database mode to "On selection" to better describe its actual behavior (fires on initialization and selection changes).

Version: 2.7.2
Framework Version: 10.22.0
Release Notes: ### Fixed

- We fixed an issue with filter input not being visible in some cases.

- We fixed an issue with Backspace key clearing input even though Clearable setting was set to false.
Version: 2.7.1
Framework Version: 10.22.0
Release Notes: ### Fixed

- We fixed an issue with filter input in single selection mode being disabled in some cases.

### Changed

- We made it possibly to clear the selection in single selection mode with Backspace key.

- We improved keyboard navigation for multi selection with
Version: 2.7.0
Framework Version: 10.22.0
Release Notes: ### Changed

- We improved behaviour of single selection with custom content.
Version: 2.6.2
Framework Version: 10.22.0
Release Notes: ### Fixed

- We fixed an issue where right-to-left text orientation would cause layout and spacing issues.
Version: 2.6.1
Framework Version: 10.22.0
Release Notes:

### Fixed - We fixed an issue where validation was not connected to combobox, causing issues for screenreaders.