From 635cb4f4d340d33d4ba3451f6045ca44d88f6e72 Mon Sep 17 00:00:00 2001 From: flynsarmy Date: Sat, 13 Sep 2014 21:43:43 +1000 Subject: [PATCH] Add dynamic option support to balloon-selector fields --- modules/backend/widgets/Form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/backend/widgets/Form.php b/modules/backend/widgets/Form.php index fff5cccc0..85651dd7a 100644 --- a/modules/backend/widgets/Form.php +++ b/modules/backend/widgets/Form.php @@ -498,7 +498,7 @@ class Form extends WidgetBase /* * Get field options from model */ - $optionModelTypes = ['dropdown', 'radio', 'checkboxlist']; + $optionModelTypes = ['dropdown', 'radio', 'checkboxlist', 'balloon-selector']; if (in_array($field->type, $optionModelTypes)) { /* @@ -801,4 +801,4 @@ class Form extends WidgetBase return method_exists($object, $method); } -} \ No newline at end of file +}