FormScope如何控制Button是否启用? #23
-
|
UseFormExample里面 代码 |
Beta Was this translation helpful? Give feedback.
Answered by
junerver
Jul 19, 2024
Replies: 2 comments 1 reply
-
|
没有效果符合预期,因为这个函数的返回值并非 |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
更新快照版本:2.0.1-SNAPSHOT |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
junerver
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
更新快照版本:2.0.1-SNAPSHOT
新增
FormScope下的扩展函数FormInstance._isValidated(): State<Boolean>,现在你可以在Form组件下使用它来获取表单的校验状态。欢迎试用、反馈~