I create form, I have several TextField, DropDownMenu material-ui components included, question is how I can collect all data from all TextFields, DropDownMenus in one obj and s
use the accepted answer / this was the answer to another (already deleted) question
@karopastal
add a ref attribute to your component and call getValue() on it, like this:
ref
Component:
Using getValue:
this.refs.myField.getValue()