redux-form-material-ui icon indicating copy to clipboard operation
redux-form-material-ui copied to clipboard

the second getRenderedComponent function result is undefined

Open lileilei opened this issue 7 years ago • 1 comments

"redux-form-material-ui": "^5.0.0-beta.2"

componentDidMount () { this.refs.firstField // the Field .getRenderedComponent() // .getRenderedComponent() // result:=> undefined .focus() // on TextField } error: TypeError: Cannot read property 'focus' of undefined

lileilei avatar Jan 11 '18 07:01 lileilei

+1 I think this doesn't use new React createRef()

filso avatar Jul 16 '18 14:07 filso