Add aria-label to dropdown autocomplete without label
This commit is contained in:
committed by
Frédéric Guillot
parent
b8e6157738
commit
87c123bba4
@@ -1,6 +1,7 @@
|
||||
<?= $this->app->component('select-dropdown-autocomplete', array(
|
||||
'name' => 'boardId',
|
||||
'placeholder' => t('Display another project'),
|
||||
'ariaLabel' => t('Display another project'),
|
||||
'items' => $board_selector,
|
||||
'redirect' => array(
|
||||
'regex' => 'PROJECT_ID',
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
'items' => $users,
|
||||
'defaultValue' => $filter['user_id'],
|
||||
'sortByKeys' => true,
|
||||
'ariaLabel' => t('User filters'),
|
||||
'redirect' => array(
|
||||
'regex' => 'USER_ID',
|
||||
'url' => $this->url->to('ProjectUserOverviewController', $this->app->getRouterAction(), array('user_id' => 'USER_ID')),
|
||||
|
||||
Reference in New Issue
Block a user