1
0
forked from poc/pds

Columns re-ordering on resource page for class characteristics and temp class characteristics

This commit is contained in:
dhanabalan
2026-09-18 16:43:11 +05:30
parent 67d601c1c2
commit ade587f5c6
2 changed files with 27 additions and 26 deletions

View File

@@ -129,6 +129,13 @@ class TempClassCharacteristicResource extends Resource
$set('updated_by', Filament::auth()->user()?->name);
})
->required(),
Forms\Components\TextInput::make('model_type')
->label('MODEL TYPE')
->reactive()
->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name);
})
->required(fn (callable $get) => (! $get('id'))),
Forms\Components\TextInput::make('class')
->label('CLASS')
->reactive()
@@ -987,12 +994,6 @@ class TempClassCharacteristicResource extends Resource
->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name);
}),
Forms\Components\TextInput::make('model_type')
->label('MODEL TYPE')
->reactive()
->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name);
}),
Forms\Components\TextInput::make('has_work_flow_id')
->label('HAS WORK FLOW ID')
->reactive()