Skip to content

Commit

Permalink
Merge pull request #4762 from nextcloud-libraries/fix/timezone-aria-l…
Browse files Browse the repository at this point in the history
…abel

fix(NcTimezonePicker): Add correct `aria-label`
  • Loading branch information
susnux authored Nov 7, 2023
2 parents fce4ae4 + 19380fb commit bcfa436
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions l10n/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ msgstr ""
msgid "Search for options"
msgstr ""

msgid "Search for time zone"
msgstr ""

msgid "Search results"
msgstr ""

Expand Down
11 changes: 6 additions & 5 deletions src/components/NcTimezonePicker/NcTimezonePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,15 @@ export default {
</docs>

<template>
<NcSelect :uid="uid"
:value="selectedTimezone"
:options="options"
:multiple="false"
<NcSelect :aria-label-combobox="t('Search for time zone')"
:clearable="false"
:filter-by="filterBy"
:multiple="false"
:options="options"
:placeholder="placeholder"
:selectable="isSelectable"
:filter-by="filterBy"
:uid="uid"
:value="selectedTimezone"
label="label"
@option:selected="change" />
</template>
Expand Down

0 comments on commit bcfa436

Please sign in to comment.