mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Cast SmallFieldHolder to HTMLFragment - fixes #6568
This commit is contained in:
parent
c81959cce0
commit
34398b0faa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user