Replies: 1 comment
-
已经解决: form.setFieldState(item.field, (state) => {
state.selfErrors = [item.message];
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
类似antd里的表单,调用
form.setFields
,设置表单的错误状态:formily中的
form.setFieldState
要怎么操作。Beta Was this translation helpful? Give feedback.
All reactions