FilamentF
Filamentβ€’3y ago
Travis

(Table) Repeater relationship options

When using the repeater (or the Table Repeater plugin), it will show the same BelongsToMany relationship options even if they've already been selected. 😒

How does one (easily) avoid this...? πŸ€”

I have tried to inject $get or $livewire, but I'm not having good results. Wherever I try to inject the latter, I'm told it's expecting a different type than the Livewire\Livewire class. And $get seems to work, but I can't seem to actually get all of the other items to exclude them from the list of available options. πŸ˜’

Thx in advance.... πŸ€“
Solution
Cool, it got merged. So @travis.elkins you can now use the disableOptionWhen() code I posted a few msgs back, and it'll work for either style of Select.
Was this page helpful?