Editable
trait Editable
Methods
bool
authorizeFieldUpdate(Model $record, string $field, mixed $value)
Authorize a field update before persisting.
bool|void
updateField(mixed $id, string $field, mixed $value)
Update a specific field for a row.
Details
at line 19
bool
authorizeFieldUpdate(Model $record, string $field, mixed $value)
Authorize a field update before persisting.
Override this method in your table component to add policy checks or custom authorization logic.
at line 35
bool|void
updateField(mixed $id, string $field, mixed $value)
Update a specific field for a row.
Handles inline editing updates. Supports callbacks, Eloquent models, and array data. Dispatches 'table-field-updated' event.