【发布时间】:2016-08-19 09:35:15
【问题描述】:
在 Redux-form v5 中,我能够从装饰表单中的任何位置访问“内联”错误(异步验证),如下所示:
const fields = [
'email'
]
// inside the decorated form
const { email } = this.props.fields
console.log(email.error) // 'the validation error of the 'email' field
如何使用 Redux-form 6.0.0+ 实现相同的目标?
【问题讨论】:
标签: reactjs redux-form