Jomatom
Jomatom
FFilament
Created by Jomatom on 11/2/2024 in #❓┊help
Store order (in session?) in custom Repeater
Hi, I've tried pretty much everything I can think of (Actions, “:wire:end.stop=”'mountFormComponentAction('' . $statePath . '', 'reorder', { items: $event.target.sortable.toArray() })'”, ...), but I can't find a solution. I am building a TabRepeater that displays the repeater content in tabs. I am now using x-sortable to be able to reorder the tabs. Unfortunately, the sort order is reset as soon as I add an entry. Can anyone give me a nudge in the right direction?
8 replies