diff --git a/src/Dropdown.php b/src/Dropdown.php index 9181e73ebdc..7a7318015a0 100644 --- a/src/Dropdown.php +++ b/src/Dropdown.php @@ -1814,6 +1814,7 @@ public static function showSelectItemFromItemtypes(array $options = []) $params = [ 'itemtype_name' => 'itemtype', 'items_id_name' => 'items_id', + 'items_aria_label' => '', 'itemtypes' => '', 'default_itemtype' => 0, 'default_items_id' => -1, @@ -1861,6 +1862,7 @@ public static function showSelectItemFromItemtypes(array $options = []) $p_ajax = [ 'idtable' => '__VALUE__', 'name' => $params['items_id_name'], + 'aria_label' => $params['items_aria_label'], 'entity_restrict' => $params['entity_restrict'], 'showItemSpecificity' => $params['showItemSpecificity'], 'rand' => $params['rand'], diff --git a/templates/components/itilobject/fields_panel.html.twig b/templates/components/itilobject/fields_panel.html.twig index 0c98590daf2..b6150a1eec2 100644 --- a/templates/components/itilobject/fields_panel.html.twig +++ b/templates/components/itilobject/fields_panel.html.twig @@ -471,7 +471,7 @@ {% set linked_itilobjects_show = headers_states['linked_itilobjects'] is defined and headers_states['linked_itilobjects'] == "true" ? true : false %} {% set nb_linked_itilobjects = item.isNewItem() ? 0 : call('CommonITILObject_CommonITILObject::countAllLinks', [item.getType(), item.getId()]) %} -
+