Skip to content

Commit a62fe8b

Browse files
committed
Add autofocus for saved filter sets
Fixes #1219. This should make sure that when accessing saved filters, the first field in the modal (the "name" field") is focused.
1 parent 68569f8 commit a62fe8b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/shared/TableFilterProfiles.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ const TableFiltersProfiles = ({
224224
value={profileName}
225225
onChange={(e) => handleChange(e)}
226226
placeholder={t("TABLE_FILTERS.PROFILES.NAME_PLACEHOLDER")}
227+
autoFocus={true}
227228
/>
228229

229230
<label>{t("TABLE_FILTERS.PROFILES.DESCRIPTION")}</label>

0 commit comments

Comments
 (0)