Aria label for close button on tags of taginput. #3.
This commit is contained in:
parent
82bdf6afca
commit
6f0e459f97
|
@ -12,6 +12,7 @@
|
|||
field="label"
|
||||
attached
|
||||
@typing="search"
|
||||
:aria-close-label="$i18n.get('remove_value')"
|
||||
:aria-labelledby="labelId"
|
||||
:placeholder="(type == 'Tainacan\\Metadata_Types\\Relationship') ? $i18n.get('info_type_to_search_items') : $i18n.get('info_type_to_add_metadata')">
|
||||
<template slot-scope="props">
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
:remove-on-keys="[]"
|
||||
field="label"
|
||||
attached
|
||||
:aria-close-label="$i18n.get('remove_value')"
|
||||
:aria-labelledby="labelId"
|
||||
:class="{'has-selected': selected != undefined && selected != []}"
|
||||
@typing="search"
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
autocomplete
|
||||
attached
|
||||
:loading="loading"
|
||||
:aria-close-label="$i18n.get('remove_value')"
|
||||
:class="{'has-selected': selected != undefined && selected != []}"
|
||||
field="label"
|
||||
@typing="search"/>
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
@input="emitValues()"
|
||||
@focus="clear()"
|
||||
attached
|
||||
:aria-close-label="$i18n.get('remove_value')"
|
||||
:class="{'has-selected': options != undefined && options != []}"
|
||||
:placeholder="$i18n.get('new') + ', ...'"/>
|
||||
</b-field>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
field="label"
|
||||
attached
|
||||
ellipsis
|
||||
:aria-close-label="$i18n.get('remove_value')"
|
||||
:placeholder="$i18n.get('instruction_type_existing_term')"
|
||||
:loading="isFetching"
|
||||
:class="{'has-selected': selected != undefined && selected != []}"
|
||||
|
|
Loading…
Reference in New Issue