Trying to disable Send button when there are errors

后端 未结 0 1713
再見小時候
再見小時候 2021-01-19 08:07

I have this form in a react-redux component. The problem is that I’m trying to make the Send button disabled when the input.trim() is empty. It is not behaving as expected.

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