Rename identification fields to Aadhar Number and PAN Number for clarity
This commit is contained in:
@@ -73,14 +73,14 @@ class GuardNameResource extends Resource
|
|||||||
->ignore($get('id'));
|
->ignore($get('id'));
|
||||||
}),
|
}),
|
||||||
Forms\Components\TextInput::make('identification1')
|
Forms\Components\TextInput::make('identification1')
|
||||||
->label('Identification-1')
|
->label('Aadhar Number')
|
||||||
->required()
|
->required()
|
||||||
->reactive()
|
->reactive()
|
||||||
->afterStateUpdated(function ($state, callable $set, callable $get) {
|
->afterStateUpdated(function ($state, callable $set, callable $get) {
|
||||||
$set('created_by', Filament::auth()->user()?->name);
|
$set('created_by', Filament::auth()->user()?->name);
|
||||||
}),
|
}),
|
||||||
Forms\Components\TextInput::make('identification2')
|
Forms\Components\TextInput::make('identification2')
|
||||||
->label('Identification-2')
|
->label('PAN Number')
|
||||||
->reactive()
|
->reactive()
|
||||||
->afterStateUpdated(function ($state, callable $set, callable $get) {
|
->afterStateUpdated(function ($state, callable $set, callable $get) {
|
||||||
$set('created_by', Filament::auth()->user()?->name);
|
$set('created_by', Filament::auth()->user()?->name);
|
||||||
|
|||||||
Reference in New Issue
Block a user