Amr M. AbdulRahman Amr M. AbdulRahman - 1 year ago 363
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:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download