Adds trap-focus to datepickers for better a11y. #3.
This commit is contained in:
parent
2eb847df08
commit
e3a7486d92
|
@ -8,6 +8,7 @@
|
|||
@focus="isTouched = true"
|
||||
@input="validadeValues()"
|
||||
editable
|
||||
:trap-focus="false"
|
||||
:date-formatter="(date) => dateFormatter(date)"
|
||||
:date-parser="(date) => dateParser(date)"
|
||||
icon="calendar-today"
|
||||
|
@ -30,6 +31,7 @@
|
|||
@input="validadeValues()"
|
||||
@focus="isTouched = true"
|
||||
editable
|
||||
:trap-focus="false"
|
||||
:date-formatter="(date) => dateFormatter(date)"
|
||||
:date-parser="(date) => dateParser(date)"
|
||||
icon="calendar-today"
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
v-model="value"
|
||||
@input="emit()"
|
||||
editable
|
||||
:trap-focus="false"
|
||||
:date-formatter="(date) => dateFormatter(date)"
|
||||
:date-parser="(date) => dateParser(date)"
|
||||
size="is-small"
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
:placeholder="$i18n.get('instruction_filter_activities_date')"
|
||||
v-model="searchDates"
|
||||
range
|
||||
:trap-focus="false"
|
||||
@input="searchActivities()"
|
||||
:date-formatter="(date) => dateFormatter(date)"
|
||||
:date-parser="(date) => dateParser(date)"
|
||||
|
|
Loading…
Reference in New Issue