How to define {evt.target.name} in onChange form field event when “name” is the key of an object in array of objects

后端 未结 0 919
有刺的猬
有刺的猬 2020-12-02 17:46

I try to add an item editing form to my React/redux app. My actual item initial state is define as below in my reducer (I get my data with an axios request to my API) :

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