issue solved added live debounce in users screen to avoid text clearing

This commit is contained in:
dhanabalan
2025-11-24 08:47:35 +05:30
parent 5b2f86569a
commit e031e57557

View File

@@ -42,7 +42,8 @@ class UserResource extends Resource
Forms\Components\TextInput::make('name') Forms\Components\TextInput::make('name')
->required() ->required()
->autofocus() ->autofocus()
->reactive() //->reactive()
->live(debounce: 600)
->afterStateUpdated(function ($state, callable $set, callable $get) { ->afterStateUpdated(function ($state, callable $set, callable $get) {
$set('email', $state . '@cripumps.com'); $set('email', $state . '@cripumps.com');
}) })