diff --git a/CHANGELOG.md b/CHANGELOG.md index 798d3a6eec..c21e2da6de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ should change the heading of the (upcoming) version to include a major version b - Added `getOptionMatchingSimpleDiscriminator()` function - `getMatchingOption` and `getClosestMatchingOption` now bypass `validator.isValid()` calls when simple discriminator is provided, fixing [#3692](https://github.com/rjsf-team/react-jsonschema-form/issues/3692) +- Fix data type in `FieldTemplateProps['onChange']` # 5.13.0 diff --git a/packages/utils/src/types.ts b/packages/utils/src/types.ts index 4e40c0d26b..f4ebfdf91d 100644 --- a/packages/utils/src/types.ts +++ b/packages/utils/src/types.ts @@ -440,7 +440,7 @@ export type FieldTemplateProps['onChange']; /** The key change event handler; Called when the key associated with a field is changed for an additionalProperty */ onKeyChange: (value: string) => () => void; /** The property drop/removal event handler; Called when a field is removed in an additionalProperty context */