Merge pull request 'hidden the sticker_id_live form in resource' (#41) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Reviewed-on: #41
This commit was merged in pull request #41.
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user