No data is passed
Closed this issue · 0 comments
Dontorpedo commented
https://github.com/asantibanez/laravel-blade-sortable/issues/9#issuecomment-903175095
i use this from the example, but there is no data passed... all variables are empty except $name, $from, $to
public function handleOnSortOrderChanged($sortOrder, $previousSortOrder, $name, $from, $to)
{
// $sortOrder = new keys order
// $previousSortOrder = keys previous order
// $name = drop target name
// $from = name of drop target from where the dragged/sorted item came from
// $to = name of drop target to where the dragged/sorted item was placed
}