form setstate on submit, not on onchange

前端 未结 0 1303
青春惊慌失措
青春惊慌失措 2021-01-08 00:25

I have a view showing name and email. I click edit, and an overlay shows up. I want to have the state updated on save changes, not on change, as to avoid having this.state.n

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