Amr M. AbdulRahman Amr M. AbdulRahman - 9 months ago 205
React JSX Question

Autofocus TextField using React Material-UI

I use Material-UI TextField

I want to implement an autofocus, I can't find a way to do it from markup by setting

not programmatically. any help?

Answer Source

You can do this like this: <TextField autoFocus={true} ></TextField>.

More on this: