From 3b08412e2f1f18dfcaa2e40a5316ff6c66461e8b Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 14 Oct 2026 16:38:31 +0530 Subject: [PATCH] Added type in options in configurations --- app/Filament/Resources/ConfigurationResource.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Filament/Resources/ConfigurationResource.php b/app/Filament/Resources/ConfigurationResource.php index 4a9c4886..da19e451 100644 --- a/app/Filament/Resources/ConfigurationResource.php +++ b/app/Filament/Resources/ConfigurationResource.php @@ -97,8 +97,14 @@ class ConfigurationResource extends Resource ]) ->hint(fn ($get) => $get('cLineError') ? $get('cLineError') : null) ->hintColor('danger'), - Forms\Components\TextInput::make('c_type') + Forms\Components\Select::make('c_type') ->label('Type') + ->options([ + 'Pump Testing Panel Readings' => 'Pump Testing Panel Readings', + 'Testing Panel Readings' => 'Testing Panel Readings', + 'Machine Name' => 'Machine Name', + 'Guard Patrol Entry Software' => 'Guard Patrol Entry Software', + ]) ->required(), Forms\Components\TextInput::make('c_group') ->label('Group')