Autot focus added

This commit is contained in:
dhanabalan
2025-04-06 17:15:40 +05:30
parent 588a53044d
commit e4019162fa

View File

@@ -38,6 +38,7 @@ class PlantResource extends Resource
->integer() ->integer()
->reactive() ->reactive()
->placeholder('Scan the valid code') ->placeholder('Scan the valid code')
->autofocus(true)
->minValue(1000) ->minValue(1000)
->afterStateUpdated(function ($state, callable $set, callable $get) { ->afterStateUpdated(function ($state, callable $set, callable $get) {
$codeId = $get('code'); $codeId = $get('code');