Multi-value checkboxes/select support?

Created on 23 November 2023, about 1 year ago
Updated 24 November 2023, about 1 year ago

Looks like it's not possible to define a text field that can use a "list" widget (select, radios) and allow multiple selections, correct?

Is that a limitation imposed by field storage, or something that might be addressed in future?

✨ Feature request
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡ΏNew Zealand john pitcairn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @john pitcairn
  • Status changed to Closed: won't fix about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States apmsooner

    John, yes its a limitation of field storage. There is no current solution for this to be addressed in the future since we are dealing with a single column in the table to store the value. Anything other than storing in a separate table would lead to a workaround like storing a string with separators or using the map object to serialize the data. Neither would lead to a desirable experience of preserving and rendering the data for other uses. I think we have to think as custom fields as single value sub fields only for now. If you or someone else wants to propose a separate table solution that perhaps extends current fields to support multi-value, feel free to provide a patch and reopen this.

Production build 0.71.5 2024