Replies: 1 comment
-
Form.useWatch from antd solved the problem: https://nanxiaobei.medium.com/watch-a-more-elegant-way-to-monitor-antd-form-field-changes-7c9b12457d67 |
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
-
I'm trying to make a field that is only displayed according to the state of another form field, however, using
form.getFieldValue
I'm not having success, the values that come from the API are not recognized as soon as the api loads, however, using onValuesChange behavior is correct after loading the api, but the initial values are not recognized to show the field, how to fix this problem?Beta Was this translation helpful? Give feedback.
All reactions