I'd like to be able to try out different configurations for the "other" widgets, but I can't switch "Checkboxes other" to "Buttons other", "Radios other", or "Select other". (If we select "Allow multiple" in any of the "OR" widgets, they can be converted TO checkboxes, but not back again.

To reproduce:

  1. Create a "Checkboxes other" field. Populate and save it.
  2. Edit it. Click "Change" under "Element Settings".

I propose it allow this, ideally with some kind of warning message, something to the effect of: "Warning, 'Radios other' does not allow for multiple values. Only proceed if that's okay."

Comments

CatherineOmega created an issue. See original summary.

jrockowitz’s picture

The backend is not setup to support switching from a multiple value to a single value element, it will cause submission data to be lost.

I am not sure I want to support this via the UI but the good news is that in the 'Edit source (YAML) mode, you can change the #type.

CatherineOmega’s picture

Hmm, I see your point, and in my experience, even a "yes, I am sure I want to do this" checkbox in the UI, or some kind of "I know what I'm doing" toggle somewhere else is likely to result in my users completely destroying their forms. I wonder if there's some way to spell that out with help text, however.

(And thanks for the reminder about YAML!)

jrockowitz’s picture

Status: Active » Closed (won't fix)