© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
Darnes

can set focus to Select with Alpine

if any way to make select get focus by Alpine JS

TextInput::make('q1')
->extraAttributes(
[
'x-on:keydown.enter' => "$focus.focus(item_id)",

]
)

it get focus only when not searchable(),
Even when I try to get focus vis JS script the same thing.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Focus another select after change
FilamentFFilament / ❓┊help
2y ago
Select content when receiving focus
FilamentFFilament / ❓┊help
2y ago
Remove Outline from Select on focus
FilamentFFilament / ❓┊help
2y ago
Possible to use searchable select in custom Alpine component?
FilamentFFilament / ❓┊help
15mo ago