- πΊπΈUnited States drupgirl
same for d10.3.2
+1 for resolution made to conditional fields. Patch from #2 π Notice: Undefined offset: 0 in /Field/FieldWidget/FileWidget.php on line 195 Closed: works as designed resolves the issues.
This is re-reporting issue 2843977 which was closed as a duplicate (mistakenly, I suspect) of issue 2908866 (which were different errors).
When saving a condition the following warnings/notices are reported:
Notice: Undefined offset: 0 in Drupal\file\Plugin\Field\FieldWidget\FileWidget->formMultipleElements() (line 196 of core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php)
Notice: Undefined offset: 0 in Drupal\image\Plugin\Field\FieldWidget\ImageWidget->formMultipleElements() (line 123 of core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php)
Note that these errors are specifically File and Image widget. I have an image field on the node content type, but it's not part of any of the conditions that I'm setting. The conditions are all hide/show of text field selectors and numeric fields based on a 'type' selector.
Active
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
same for d10.3.2
+1 for resolution made to conditional fields. Patch from #2 π Notice: Undefined offset: 0 in /Field/FieldWidget/FileWidget.php on line 195 Closed: works as designed resolves the issues.