You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could your example to use inputRef={ ref => this.textInput = ref } instead of document.querySelector()?
The text was updated successfully, but these errors were encountered:
themeteorchef
changed the title
Example to use "inputRef={ ref => this.textInput = ref }" instead of "document.querySelector()"
Check where we can swap querySelector for refs
Feb 2, 2017
It could, but the structure of the <FormControl /> component from React Bootstrap made this difficult in the past (hard to access the nested refs if I recall correctly).
Could your example to use
inputRef={ ref => this.textInput = ref }
instead ofdocument.querySelector()
?The text was updated successfully, but these errors were encountered: