- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Data loss makes this a critical and it still exists in the 4.x version
When a Select Or Other field can contain multiple values and uses checkboxes, existing values are not preserved - the boxes are not checked when you go to edit the field.
Create a list-text field that can take multiple values. Add Select Or Other as the form widget, and choose checkboxes. Create a piece of content with one or more boxes checked. Edit content - prior choices are not preserved in widget. (If you change the widget to a select_or_other select list, it works).
The bug appears to be in Element/Buttons.php::addEmptyOption(). At line 86, an "else" statement as been added in the most recent release. Within that else, you find a scary statement: $element['select']['#value'] = [];
If you comment out that "else", it works.
Figure out why that code was added in the most recent release, and what breaks if the else statement is removed.
Active
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Data loss makes this a critical and it still exists in the 4.x version