From ea68140e6d73e7b1175ddbf05bc90b0ac29a9661 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 5 Nov 2019 10:40:18 +0300 Subject: [PATCH] fix(core): fix state of aria-selected for all generated forms #275 --- flextype/core/Forms.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/flextype/core/Forms.php b/flextype/core/Forms.php index 334b5613..1c8d962e 100644 --- a/flextype/core/Forms.php +++ b/flextype/core/Forms.php @@ -32,7 +32,7 @@ class Forms private $flextype; /** - * Sizes + * Form controls sizes * * @var array * @access private @@ -87,12 +87,19 @@ class Forms $form .= $this->_csrfHiddenField(); $form .= $this->_actionHiddenField(); + // Go through all sections if (count($fieldset['sections']) > 0) { $form .= '