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
|
* @var array
|
||||||
*/
|
*/
|
||||||
private static $casting = [
|
private static $casting = [
|
||||||
'AttributesHTML' => 'HTMLFragment',
|
'AttributesHTML' => 'HTMLFragment', // property $AttributesHTML version
|
||||||
|
'getAttributesHTML' => 'HTMLFragment', // method $getAttributesHTML($arg) version
|
||||||
'FormAttributes' => 'HTMLFragment',
|
'FormAttributes' => 'HTMLFragment',
|
||||||
'FormName' => 'Text',
|
'FormName' => 'Text',
|
||||||
'Legend' => 'HTMLFragment',
|
'Legend' => 'HTMLFragment',
|
||||||
|
Loading…
Reference in New Issue
Block a user