antd-form-builder
antd-form-builder copied to clipboard
Dynamic Fields hasn't take effec
In examples-v4,the case Dynamic Fields: https://codesandbox.io/s/fervent-ride-55we5?file=/src/App.js When change initialValue to 'Other',the other formItem isn't appears.
For first rendering, you need to check condition by initialValue rather than form.getFieldValue
form.getFieldValue('your form key') || meta.fields[0].initialValue