Replies: 3 comments
-
可以,这个问题挺多用户提了,增加一个选项即可,麻烦来个 PR ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
恩,争取最近抽时间,今年有点忙😂 |
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
-
问题
form.validate 时会判断表单是否为 "editable" 状态,导致某些场景下功能受限:
formily/packages/core/src/shared/internals.ts
Line 889 in 1f33ebc
举例
在详情模式中允许使用 Editable 对某个字段变更
向后兼容
提供一个
validatePattern
配置项,使用方式类似validateFirst
。并为其设置特殊值为 “*” 默认值为 “editable”, 是否可行?Beta Was this translation helpful? Give feedback.
All reactions