Display of autocomplete multi-select custom fields for events is broken
Overview
For events, the display of autocomplete multi-select fields does not work anymore.
Reproduction steps
- Create a custom field for events:
- Data Type Alphanumeric
- Field Input Type: autocomplete
- Multi-Select: check
- Add two options (e.g. "value1", "value2")
- Edit an event, select "value1", Save.
- Open the event again: the selected value(s) are not displayed (however, they are stored in the database).
Current behaviour
Stored values of autocomplete multi-select fields for events are not displayed.
(This might create problems, because when you save, then the existing values are overwritten/nulled)
Expected behaviour
Stored values of autocomplete multi-select fields for events should be displayed.
Environment information
- This worked well with CiviCRM 5.64.4, but since some time it is broken.
- Tested here with 5.71.1
Workaround
- Field input type can be changed to "checkbox(es)" - which however might be ugly and un-usable if there are many option.