mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-29 18:19:53 +08:00
docs: update unique parameter name
Update parameter name of unique validation. Change `callback` to `modifyRuleUsing`.
This commit is contained in:
@@ -185,7 +185,7 @@ By default, the field name will be used as the column to search. You may specify
|
||||
Field::make('invitation')->exists(column: 'id')
|
||||
```
|
||||
|
||||
You can further customize the rule by passing a [closure](advanced#closure-customization) to the `callback` parameter:
|
||||
You can further customize the rule by passing a [closure](advanced#closure-customization) to the `modifyRuleUsing` parameter:
|
||||
|
||||
```php
|
||||
use Illuminate\Validation\Rules\Exists;
|
||||
|
||||
Reference in New Issue
Block a user