diff --git a/modules/os2forms_nemid/src/Plugin/WebformElement/NemidElementBase.php b/modules/os2forms_nemid/src/Plugin/WebformElement/NemidElementBase.php index b8e2bb4f..41e70274 100644 --- a/modules/os2forms_nemid/src/Plugin/WebformElement/NemidElementBase.php +++ b/modules/os2forms_nemid/src/Plugin/WebformElement/NemidElementBase.php @@ -74,8 +74,9 @@ public function alterForm(array &$element, array &$form, FormStateInterface $for } $this->handleElementPrepopulate($element, $form_state); - NestedArray::setValue($form['elements'], $element['#webform_parents'], $element); } + + NestedArray::setValue($form['elements'], $element['#webform_parents'], $element); } }