Merge pull request #6571 from colintucker/fix-form-field-casting

Cast SmallFieldHolder to HTMLFragment - fixes #6568
This commit is contained in:
Damian Mooyman 2017-01-27 16:56:07 +13:00 committed by GitHub
commit 9e24adbe5d

View File

@ -255,6 +255,7 @@ class FormField extends RequestHandler
private static $casting = array(
'FieldHolder' => 'HTMLFragment',
'SmallFieldHolder' => 'HTMLFragment',
'Field' => 'HTMLFragment',
'AttributesHTML' => 'HTMLFragment', // property $AttributesHTML version
'getAttributesHTML' => 'HTMLFragment', // method $getAttributesHTML($arg) version