FIX: Stop FormField onBeforeRenderHolder extension result being overridden

This commit is contained in:
Loz Calver 2022-11-02 10:06:23 +00:00
parent c925fae180
commit e2cb683f14

View File

@ -959,7 +959,7 @@ class FormField extends RequestHandler
$this->extend('onBeforeRenderHolder', $context, $properties);
if (count($properties ?? [])) {
$context = $this->customise($properties);
$context = $context->customise($properties);
}
return $context->renderWith($this->getFieldHolderTemplates());