mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Fix deprecated reference
`mutateFormDataUsing` is deprecated.
This commit is contained in:
@@ -39,7 +39,7 @@ EditAction::make()
|
||||
|
||||
## Customizing data before saving
|
||||
|
||||
Sometimes, you may wish to modify form data before it is finally saved to the database. To do this, you may use the `mutateFormDataUsing()` method, which has access to the `$data` as an array, and returns the modified version:
|
||||
Sometimes, you may wish to modify form data before it is finally saved to the database. To do this, you may use the `mutateDataUsing()` method, which has access to the `$data` as an array, and returns the modified version:
|
||||
|
||||
```php
|
||||
use Filament\Actions\EditAction;
|
||||
|
||||
Reference in New Issue
Block a user