Skip to content

Commit

Permalink
chore: update changelog for v10.52 (#4081)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored Oct 11, 2024
1 parent 7bb0c23 commit 0d83b81
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,30 @@ breadcrumb:

Change log for the Eufemia Forms extension.

## v10.52

- Added `transformLabel` to all `Value.*` components.
- Added `bubbleValidation` to [Form.Isolation](/uilib/extensions/forms/Form/Isolation/) and [Iterate.PushContainer](/uilib/extensions/forms/Iterate/PushContainer/), to prevent the form from being submitted when there are fields with errors.
- Added [createMinimumAgeValidator](/uilib/extensions/forms/feature-fields/NationalIdentityNumber/properties/#createminimumagevalidator) in [Field.NationalIdentityNumber](/uilib/extensions/forms/feature-fields/NationalIdentityNumber/) to make a customizable minimum age validator.
- Added [Form.useSnapshot](/uilib/extensions/forms/Form/useSnapshot/) hook to handle snapshots of data.
- Added `id` to [Wizard.Step](/uilib/extensions/forms/Wizard/Step/) for when using dynamic steps with `activeWhen`.
- Added [Iterate.ItemNo](/uilib/extensions/forms/Iterate/ItemNo/).
- Added support for `Form.SubmitConfirmation` in [Wizard](/uilib/extensions/forms/Wizard/).
- Added `isolatedData` to [Iterate.PushContainer](/uilib/extensions/forms/Iterate/PushContainer/).
- Added displaying phone numbers in [Value.PhoneNumber](/uilib/extensions/forms/Value/PhoneNumber/) using prefix `+` instead of `00`.
- Added support for `defaultValue` (and `value`) for fields used in [Iterate.Array](/uilib/extensions/forms/Iterate/Array/).
- Added support for `isValid` in [Form.Visibility](/uilib/extensions/forms/Form/Visibility/) for showing content based on the validation of a field.
- Removed the internal `pattern` in [Field.OrganizationNumber](/uilib/extensions/forms/feature-fields/OrganizationNumber/), rather using the internal validator.
- Removed the internal `pattern` in [Field.NationalIdentityNumber](/uilib/extensions/forms/feature-fields/NationalIdentityNumber/), rather using the internal validator.
- Fixed so [Form.clearData](/uilib/extensions/forms/Form/clearData/) works in `React.StrictMode`.
- Fixed use of unpolyfilled structuredClone in [Form.useData](/uilib/extensions/forms/Form/useData/) hook.
- Fixed so `onBlurValidator` works with `validateInitially`.
- Fixed so [Iterate.EditContainer](/uilib/extensions/forms/Iterate/EditContainer/) keeps open when falsy value or empty object was given as the iterate value.
- Fixed so all errors on every value change is displayed when using exported validators from `exportValidators`.
- Fixed so `exportValidators` is not called when not exported as an array.
- Fixed so `emptyValue` is set in the data context when defined.
- Fixed so [Field.SelectCountry](/uilib/extensions/forms/feature-fields/SelectCountry/) has a fallback locale (nb-NO).

## v10.51

- Added `rounding` property with support for `half-even` rounding to [Value.Number](/uilib/extensions/forms/Value/Number/) and [Value.Currency](/uilib/extensions/forms/Value/Currency/).
Expand Down

0 comments on commit 0d83b81

Please sign in to comment.