We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

how to add html5 'autofocus' with helper tags?

hi, feeling dumb..how to add such an option?

'autofocus' => 'autofocus' or 'autofocus' => '' Should work.

See this link: https://html.spec.whatwg.org/multipage/infrastructure.html#boolean-attribute



11.6k

Thank you Shad.. that's works.