diff --git a/libraries/src/Form/FormField.php b/libraries/src/Form/FormField.php index 65102767654a..36f3e90c0f6b 100644 --- a/libraries/src/Form/FormField.php +++ b/libraries/src/Form/FormField.php @@ -646,6 +646,9 @@ public function setup(\SimpleXMLElement $element, $value, $group = null) $this->input = null; $this->label = null; + // Reset the cached layout data + $this->layoutData = []; + // Set the XML element object. $this->element = $element;