Added more details the reordering records section

This commit is contained in:
Ted Stein
2025-08-31 09:40:41 -04:00
committed by GitHub
parent 583838b45f
commit dd271cfd3a
+1 -1
View File
@@ -357,7 +357,7 @@ public function table(Table $table): Table
}
```
If you're using mass assignment protection on your model, you will also need to add the `sort` attribute to the `$fillable` array there.
The field used to sort should be an integer and you will need to sort the table schema by the same attribute to see the changes reflected in the UI after saving. If you're using mass assignment protection on your model, you will also need to add the `sort` attribute to the `$fillable` array there.
When making the table reorderable, a new button will be available on the table to toggle reordering.