Skip to content

Commit

Permalink
autofocus search input
Browse files Browse the repository at this point in the history
  • Loading branch information
mansoorkhan96 committed Mar 21, 2024
1 parent 244f1de commit aab6ebf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Components/UnsplashPickerComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public function form(Form $form): Form
->live(debounce: 300)
->hiddenLabel()
->autocomplete(false)
->autofocus()
->placeholder(__('unsplash-picker::unsplash-picker.search_for_an_image')),
]);
}
Expand Down

0 comments on commit aab6ebf

Please sign in to comment.