Filament: Repeater: Choose Tournament Winners

Filament Repeater field with positions: pick the top 3 tournament winners, auto-disabling that winner in other dropdowns.


Get the Source Code:

How it works

The whole logic of this live-updated form is in the Filament Resource file, in its form() method.

  • We're using Repeater::make() with ->defaultItems(3)->addable(false)->deletable(false) to have strictly 3 items.
  • We load the options for the Repeater Select from the Relationship of Tournament model from method country()
  • In the Select, we use...
The FULL tutorial is available after the purchase: in the Readme file of the official repository you would get invited to.
Get the Source Code: All 50 Premium Examples for $99 Only Form Examples for $39