Skip to content

Commit 3cb306e

Browse files
author
Ruben van Leeuwen
committed
1954: Added comment
1 parent 82035b5 commit 3cb306e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/packages/pydantic-forms/src/core/hooks/usePydanticFormParser.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const getPydanticFormField = (
4545
requiredFields: string[],
4646
formLabels?: Record<string, string>,
4747
fieldDetailProvider?: PydanticFormsContextConfig['fieldDetailProvider'],
48-
isArrayItem: boolean = false,
48+
isArrayItem: boolean = false, // Arrayitems should not have titles or descriptions. Their properties will have them instead
4949
) => {
5050
const options = getFieldOptions(propertySchema);
5151
const fieldOptionsEntry = getFieldAllOfAnyOfEntry(propertySchema);

0 commit comments

Comments
 (0)