How do I set autofocus
on a certain field using the Form?
I have managed to set focus by registering the macro, but is it possible to set it in Form::text
?
It is enough just to pass a third parameter in Form::text as array with 'autofocus'=>'autofocus'.
Sorry to bother you guys, maybe someone finds it useful.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With