© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
20 replies
brahim

select options

->visible((fn (Get $get): array => bool ($get('product_id')) {[4 => "test"]})

can someone help me in this code
Solution
->visible(fn (Get $get) => Product::find((int)$get('product_id'))?->name === 'Product Name')
->visible(fn (Get $get) => Product::find((int)$get('product_id'))?->name === 'Product Name')
Jump to solution
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

Select Options
FilamentFFilament / ❓┊help
3y ago
JavaScript Select Search Options
FilamentFFilament / ❓┊help
16mo ago
Select options not populating
FilamentFFilament / ❓┊help
2y ago
Set select options edit
FilamentFFilament / ❓┊help
3y ago