关于表单使用的最佳实践
#5799
Replies: 1 comment 1 reply
-
方法不少。你可以在phone字段的componentProps里添加onChange来监听值改变,或者类似下面的方法来监听phone的变化:
也可以在useVbenForm里添加值变化回调监听:handleValuesChange |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
例如如下一个场景 input1 输入内容后,请求接口 并 改变 input2 和 input3 的


目前我对 input1 dependencies.triggerFields 添加了自身 fieldName ,trigger 单独封装了一个函数来做副作用处理
Beta Was this translation helpful? Give feedback.
All reactions