Skip to content

Commit

Permalink
FIX: Add missing casting for Form::getAttributesHTML (fixes silverstr…
Browse files Browse the repository at this point in the history
  • Loading branch information
kinglozzer committed Jul 4, 2022
1 parent 55c3e24 commit 9b45342
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Forms/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 9b45342

Please sign in to comment.