Skip to content

Commit

Permalink
FIX: Include attributes in FormField schema data (fixes silverstripe#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kinglozzer committed Jul 15, 2019
1 parent a54ba97 commit c419e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/FormField.php
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,7 @@ public function getSchemaDataDefaults()
'disabled' => $this->isDisabled(),
'customValidationMessage' => $this->getCustomValidationMessage(),
'validation' => $this->getSchemaValidation(),
'attributes' => [],
'attributes' => $this->getAttributes(),
'autoFocus' => $this->isAutofocus(),
'data' => [],
];
Expand Down

0 comments on commit c419e3d

Please sign in to comment.