Heya everyone! We're on Filament v3 and we're using the
->reorderable()
->reorderable()
method on a Resource Table to allow the reordering of the elements. It works great, but for our use case we would prefer if the result ordering started with 0 instead of 1.
For example, reordering 3 elements right now results in: 1 - Element A 2 - Element B 3 - Element C
While we'd like to have: 0 - Element A 1 - Element B 2 - Element C
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
Solution
You'd need to overwrite that whole method if you like a different behaviour