Skip to content
Snippets Groups Projects

Issue #3422390: Choices field widget not working in node edit form when applied to an Entity reference field in a Paragraph

Open Issue #3422390: Choices field widget not working in node edit form when applied to an Entity reference field in a Paragraph
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -15,7 +15,7 @@
if (settings.choices.widget.fields) {
let choicesWidgetFields = settings.choices.widget.fields;
Object.entries(choicesWidgetFields).forEach(([fieldName, value]) => {
let selects = context.querySelectorAll('select[name="' + fieldName + '"],select[name="' + fieldName + '[]"]');
let selects = context.querySelectorAll('select[name="' + fieldName + '"],select[name="' + fieldName + '[]"],select[name*="[' + fieldName + ']"');
if (selects.length > 0) {
let configuration_options = {};
// If choices widget configuration_options is set use them:
Loading