Skip to content

Commit f65473a

Browse files
committed
hide properties that have an array type from the dynamic form
1 parent a10584d commit f65473a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/api/configurations.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,10 @@ export const configureDynamicFormSchema = (defaultSchema) => {
276276
adjustedProperty = { ...remainingProperties }
277277
}
278278

279-
propertyFields[key] = adjustedProperty
279+
if (value.type !== 'array') {
280+
// TODO(alishaevn): figure out the "items" property for arrays
281+
propertyFields[key] = adjustedProperty
282+
}
280283
}
281284
})
282285

0 commit comments

Comments
 (0)