Rename identification fields to Aadhar Number and PAN Number for clarity

This commit is contained in:
dhanabalan
2025-08-07 09:20:53 +05:30
parent 705cc8c3a4
commit 15af1edb8f

View File

@@ -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);