mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: Stop FormField onBeforeRenderHolder extension result being overridden
This commit is contained in:
parent
c925fae180
commit
e2cb683f14
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user