From 7648428fdbc540bf8577c7bef1c536aec00acc13 Mon Sep 17 00:00:00 2001 From: Florian Thoma Date: Sat, 10 Jun 2017 09:52:22 +1000 Subject: [PATCH] add extension hoot to FormField::extraClass() --- forms/FormField.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/forms/FormField.php b/forms/FormField.php index d04991e02..e1624954c 100644 --- a/forms/FormField.php +++ b/forms/FormField.php @@ -470,6 +470,8 @@ class FormField extends RequestHandler { if($this->Message()) { $classes[] .= 'holder-' . $this->MessageType(); } + + $this->extend('updateExtraClass', $classes); return implode(' ', $classes); }