Add dynamic option support to balloon-selector fields

This commit is contained in:
flynsarmy 2014-09-13 21:43:43 +10:00
parent e63a083ca2
commit 635cb4f4d3
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}