hidden the sticker_id_live form in resource
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 11s
Gemini PR Review / Gemini PR Review (pull_request) Successful in 20s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 11s
Laravel Pint / pint (pull_request) Failing after 2m39s
Laravel Larastan / larastan (pull_request) Failing after 2m49s

This commit is contained in:
dhanabalan
2025-12-22 17:57:52 +05:30
parent f36c9f0df4
commit 4b857f723c

View File

@@ -66,7 +66,7 @@ class StickerStructureDetailResource extends Resource
Forms\Components\Hidden::make('updated_by') Forms\Components\Hidden::make('updated_by')
->label('Updated By') ->label('Updated By')
->default(Filament::auth()->user()?->name), ->default(Filament::auth()->user()?->name),
Forms\Components\TextInput::make('sticker_id_live') Forms\Components\Hidden::make('sticker_id_live')
->default(fn ($get) => $get('sticker_id')) ->default(fn ($get) => $get('sticker_id'))
->reactive() ->reactive()
->afterStateUpdated(function ($state, callable $set) { ->afterStateUpdated(function ($state, callable $set) {