Skip to content

Commit

Permalink
Fix: Pass required props to anyof/oneof field components (rjsf-team#4303
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tomaszdurka authored Sep 20, 2024
1 parent 9d1ff6d commit d2ac1c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/components/fields/SchemaField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ function SchemaFieldRender<T = any, S extends StrictRJSFSchema = RJSFSchema, F e
schemaUtils.retrieveSchema(isObject(_schema) ? (_schema as S) : ({} as S), formData)
)}
registry={registry}
required={required}
schema={schema}
uiSchema={uiSchema}
/>
Expand All @@ -340,6 +341,7 @@ function SchemaFieldRender<T = any, S extends StrictRJSFSchema = RJSFSchema, F e
schemaUtils.retrieveSchema(isObject(_schema) ? (_schema as S) : ({} as S), formData)
)}
registry={registry}
required={required}
schema={schema}
uiSchema={uiSchema}
/>
Expand Down

0 comments on commit d2ac1c1

Please sign in to comment.