Combo box
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
Added
- We added the "No options available" accessibility status message. Screen readers announce it when no options match and "No options text" is empty.
Changed
- We hid the "Placeholder text" property when the combobox type is set to Boolean, since boolean attributes can never be empty and the placeholder has no effect.
Fixed
- We fixed an issue where pages with many combo boxes became slow to scroll.
- We improved the screen reader experience of the combobox. The arrow icon is no longer announced as an image, and an empty combobox no longer exposes an empty option to screen reader users.
- We fixed an issue where a "No options text" made only of spaces showed an empty option that screen readers could still reach.
- We fixed an issue where the clear and remove value buttons had no accessible name when their aria labels were empty. They now fall back to "Clear selection" and "Remove value".
### 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.
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.
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).