Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 3253 By adding schema to ArrayFieldTemplateItemType type #3298

Merged
merged 1 commit into from Dec 19, 2022

Commits on Dec 16, 2022

  1. fix: 3253 By adding schema to ArrayFieldTemplateItemType type

    fix: rjsf-team#3253 by adding `schema` prop `ArrayFieldTemplateItemType` type to make it consistent with all the rest of the template types
    - In `@rjsf/utils`, updated `types.ts` to add `schema` to the `ArrayFieldTemplateItemType` type
    - In `@rjsf/core`, updated the `ArrayField` template to pass the `schema` to the props that are provided to the instance of the `ArrayFieldItemTemplate`
    - Updated `custom-templates.md` to add the `schema` to the documentation for `ArrayFieldItemTemplate`
    - Updated the `CHANGELOG.md` accordingly
    heath-freenome committed Dec 16, 2022
    Copy the full SHA
    1886929 View commit details
    Browse the repository at this point in the history