From 4a32b3418a9e8e7d355b48bb10f9da68eda87157 Mon Sep 17 00:00:00 2001 From: Nicholas Sorokin Date: Fri, 12 Jul 2019 12:37:31 +0930 Subject: [PATCH] Add onBeforeRenderHolder extension point for FormField --- src/Forms/FormField.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Forms/FormField.php b/src/Forms/FormField.php index 94721475e..13eafc887 100644 --- a/src/Forms/FormField.php +++ b/src/Forms/FormField.php @@ -1036,6 +1036,8 @@ class FormField extends RequestHandler { $context = $this; + $this->extend('onBeforeRenderHolder', $context, $properties); + if (count($properties)) { $context = $this->customise($properties); }