Repeater open conditionally.
Is it possible to open a repeater conditionally? For example, when a modal form opens and it contains several repeater items that are collapsed by default — is there a way to have one repeater item open while the others remain collapsed? If yes, how?
Solution:Jump to solution
Found a solution
```
->collapsed(function (Livewire $livewire, ?ComponentContainer $item): bool {
// When creating, keep items expanded
if ($livewire->mountedActionName === 'create') {...
1 Reply
Solution
Found a solution