Add (React) autofocus to Inputs on Web - Mendix Forum

Add (React) autofocus to Inputs on Web

10

It’s not an unusually requirement to need to autofocus an input element upon a page/view rendering.

 

My understanding is this was already implement on the Text box for react native. The idea is to implement the same for react/web as well. If possible we could handle various input types that have the focus method or autofocus HTML 5 global attribute.


Since the widgets are react based this requires consideration of react specifics such as described in this article:

https://blog.logrocket.com/how-to-autofocus-using-react-hooks/

 

asked
0 answers