From c419e3d6579c32d71b78ec6c036bdd6307fd773a Mon Sep 17 00:00:00 2001 From: Loz Calver Date: Mon, 15 Jul 2019 11:06:31 +0100 Subject: [PATCH] FIX: Include attributes in FormField schema data (fixes #9124) --- src/Forms/FormField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/FormField.php b/src/Forms/FormField.php index 502163b0bb2..d05a2a65aed 100644 --- a/src/Forms/FormField.php +++ b/src/Forms/FormField.php @@ -1537,7 +1537,7 @@ public function getSchemaDataDefaults() 'disabled' => $this->isDisabled(), 'customValidationMessage' => $this->getCustomValidationMessage(), 'validation' => $this->getSchemaValidation(), - 'attributes' => [], + 'attributes' => $this->getAttributes(), 'autoFocus' => $this->isAutofocus(), 'data' => [], ];