React JS: With state, dynamically update an attribute (e.g., type) of an input that is a value in an object

后端 未结 0 1543
执念已碎
执念已碎 2021-01-17 05:10

I have a state called fields, which is an array of objects. Each object has its html form, as you can see here:

fields: [
    {
        field: &l         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题