无法在提交操作时从 redux-form 中获取状态数据

问题描述

实现:从材质 UI 组件获取输入值,并在 handleSubmit 函数中将它们传递给动作创建者。

      <Field name='passcode'
        component={({input}) =>
          <TextField
            value={this.state.passcode}
            fullWidth
            autoComplete='off'
            id='passcode-text-field'
            label='passcode'
          />
        }/>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)