1
0
forked from poc/pds

Add required validation to load rate input in StickerMasterResource resource

This commit is contained in:
dhanabalan
2025-09-06 16:16:35 +05:30
parent ad72d38193
commit 65aafbeb65

View File

@@ -210,11 +210,11 @@ class StickerMasterResource extends Resource
Forms\Components\TextInput::make('load_rate')
->label('Load Rate')
->default(0)
->required()
->disabled(function ($get) {
return $get('material_type');
})
->integer()
->nullable(),
->integer(),
Forms\Components\Select::make('material_type')
->label('Material Type')