mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: Add missing casting for Form::getAttributesHTML (fixes #10386)
This commit is contained in:
parent
55c3e24a50
commit
9b45342a06
@ -232,7 +232,8 @@ class Form extends ViewableData implements HasRequestHandler
|
||||
* @var array
|
||||
*/
|
||||
private static $casting = [
|
||||
'AttributesHTML' => 'HTMLFragment',
|
||||
'AttributesHTML' => 'HTMLFragment', // property $AttributesHTML version
|
||||
'getAttributesHTML' => 'HTMLFragment', // method $getAttributesHTML($arg) version
|
||||
'FormAttributes' => 'HTMLFragment',
|
||||
'FormName' => 'Text',
|
||||
'Legend' => 'HTMLFragment',
|
||||
|
Loading…
Reference in New Issue
Block a user