Commit e4a83df6 authored by mmrares's avatar mmrares Committed by jrockowitz

Issue #2834309 by mmrares: Wrong form replacement with ajax when used with paragraphs

parent be6511d0
......@@ -45,7 +45,7 @@ class BlockFieldWidget extends WidgetBase {
$item =& $items[$delta];
$field_name = $this->fieldDefinition->getName();
$settings_id = $field_name . '-' . $delta . '-settings';
$settings_id = implode('-', array_merge($element['#field_parents'], [$field_name, $delta, 'settings']));
$plugin_ids = $this->fieldDefinition->getSetting('plugin_ids');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment