Skip to content

Commit 8be3537

Browse files
Adrienjcabannes
authored andcommitted
feat(catalog-ui): auto focus on input filter search
1 parent ad28be9 commit 8be3537

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

apps/catalog-ui/src/components/smart-filter/DateSearchFilterPanel.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
:suffix="translateOrDefault('', 'inputSuffix')"
4141
:rules="rules"
4242
data-cy="date-search-filter-panel_input"
43+
autofocus
4344
>
4445
<template #append>
4546
<q-icon

apps/catalog-ui/src/components/smart-filter/NumberSearchFilterPanel.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
:prefix="translateOrDefault('', 'inputPrefix')"
3939
:suffix="translateOrDefault('', 'inputSuffix')"
4040
data-cy="number-search-filter-panel_input"
41+
autofocus
4142
/>
4243

4344
<q-checkbox

apps/catalog-ui/src/components/smart-filter/TextSearchFilterPanel.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
:prefix="translateOrDefault('', 'inputPrefix')"
3939
:suffix="translateOrDefault('', 'inputSuffix')"
4040
data-cy="text-search-filter-panel_input"
41+
autofocus
4142
/>
4243

4344
<q-checkbox

0 commit comments

Comments
 (0)