How get data from material-ui TextField, DropDownMenu components?

后端 未结 10 1917
遥遥无期
遥遥无期 2021-01-31 01:13

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

10条回答
  •  粉色の甜心
    2021-01-31 01:53

    I don't know about y'all but for my own lazy purposes I just got the text fields from 'document' by ID and set the values as parameters to my back-end JS function:

    //index.js
    
          
    
          
    
          

    It works just fine.

提交回复
热议问题