Filter a Select Field in a Repeater
How to filter a Select Field in a Repeater to avoid duplicated?
4 Replies
For real-time validation, you can try something like this:
To prevent duplicate data, you can use hooks:
https://filamentphp.com/docs/2.x/admin/resources/creating-records#lifecycle-hooks
Filament
Creating records - Resources - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
Thank you!
Did it work?
What I was interested about is to filter items in Select Field so when an item is selected it will be removed from the list in Repeater items below.