Skip to content

Commit

Permalink
Merge pull request #5317 from nebulab/waiting-for-dev/admin/filter_focus
Browse files Browse the repository at this point in the history
[Admin] Focus on the search field when rendered
  • Loading branch information
waiting-for-dev authored Aug 9, 2023
2 parents 2918e38 + c182246 commit baf2dfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/app/components/solidus_admin/ui/table/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default class extends Controller {
showSearch(event) {
this.modeValue = "search"
this.render()
this.searchFieldTarget.focus()
}

search() {
Expand Down

0 comments on commit baf2dfc

Please sign in to comment.