[Feature]: allow to pass `autofocus` attribute to SfInput
Opened this issue · 0 comments
Baroshem commented
What package of StorefrontUI can be affected by this change?
all
How the project can be improved?
It would be useful to have an autofocus
attribute to the SfInput component so that when passed, the input would get automatic focus when page / component loads
https://www.w3schools.com/tags/att_input_autofocus.asp
What are the acceptance criteria?
- SfInput accepts
autofocus
prop that behaves just like a normal input html element - When
autofocus
is true, input should get automatic focus when it loads
Additional information
No response
Code of Conduct
- I agree to follow this project's Code of Conduct