Rjsf-team from React-jsonschema-form Repository

Apache License 2.0

Closed
fix: Undo another breaking change on Form #3153

Issue Opened
Heath-freenome Opened Issue On Sep 28th 2022, 5:33

Heath-freenome

Reasons for making this change

While migrating my own application's code I stumbled across another unnecessary breaking change that I reverted

  • Updated the validate() method on Form to make schemaUtils an optional third paramteter rather than a required first parameter
    • This makes the signature backwards compatible with what was provided in previous versions.
    • Updated the calls to pass the alternate schemaUtils in the one place that it is needed to be passed, otherwise allow the default to the state.schemaUtils
  • Updated the CHANGELOG.md accordingly

Checklist

  • [ ] I'm updating documentation
  • [x] I'm adding or updating code
    • [ ] I've added and/or updated tests. I've run npm run test:update to update snapshots, if needed.
    • [ ] I've updated docs if needed
    • [x] I've updated the changelog with a description of the PR
  • [ ] I'm adding a new feature
    • [ ] I've updated the playground with an example use of the feature

About Repository

A React component for building Web forms from JSON Schema.
Language: TypeScript
Star: 12070
Fork: 1990
Watchers: 12070
Open Issues: 388
https://github.com/rjsf-team/react-jsonschema-form
Apache License 2.0
Last updated: 05 Dec 2022
Tropics: