We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c0954e commit 2dd802bCopy full SHA for 2dd802b
frontend/src/pages/addFlow/components/render-form-item.tsx
@@ -61,8 +61,7 @@ const RenderFormItem = (props) => {
61
const formInit = () => {
62
if (actualType === 'Boolean' || actualType === 'switch') {
63
form.setFieldValue(name, false);
64
- }
65
- if (actualType === 'multiselect') {
+ } else if (actualType === 'multiselect') {
66
form.setFieldValue(name, []);
67
} else {
68
form.setFieldValue(name, null);
0 commit comments