Skip to content

Change log

Change log for the Eufemia Forms extension.

Get more details about releases or have a look on all release notes on GitHub.

v10.83.0

v10.82.1

v10.82.0

  • Added support for Zod schemas (along with Ajv).
  • When using JSON Schema (Ajv) it is recommended to explicitly providing an ajvInstance to Form.Handler:

v10.81.0

v10.80.0

  • Added da-DK translations to Eufemia and Eufemia Forms.

v10.76.0

v10.75.3

  • Fixed so required is working correctly together with date ranges like value=2023-12-07|2023-12-14 in Field.Date.

v10.75.2

v10.75.0

v10.74.0

v10.73.2

v10.73.1

v10.73.0

v10.72.3

  • Ensure Field.Composition with horizontal layout will still wrap.
  • Ensure Field.Selection with the autocomplete variant receives showIndicator in the first onType parameter object.

v10.72.2

v10.72.1

  • Fixed anchor alignment in the redesigned Wizard.
  • Fixed font size of items in the redesigned Wizard.

v10.72.0

  • New design for Wizard.
  • Deprecated variant in Wizard.Container, as it no longer has any variants.
  • Deprecated sidebarId in Wizard.Container, as it no longer has any sidebar. If an id is needed, use the id property.

v10.71.0

  • Added disableDragAndDrop in Field.Upload to disable file drag and drop.
  • Added description in Upload's fileItem to add description for a given file.
  • Added removeDeleteButton in Upload's fileItem to hide the remove button for a given file.
  • Added iso (country) to additional args in Field.PhoneNumber events.

v10.70.1

  • Fixed so form can't be submitted when error property is set in Field.* components.

v10.70.0

  • Added default autoComplete of current-password in Field.Password.
  • Added allowDuplicates in Field.Upload to allow uploading duplicate files.
  • Fixed so only comparing existing properties of file's name, size and lastModified when determining if file is a duplicate in Field.Upload.
  • Fixed so hasValue runs in Form.Visibility when path is missing.
  • Fixed error reporting during Wizard.Step navigation with async event handlers and/or field validators.

v10.69.1

  • Fixed so error message in the step menu of Wizard.Container is removed when unmounted.
  • Fixed the rendering routine of Wizard.Step.
  • Fixed so async removal of file in Field.Upload with same file name as an other file will not display spinner/loading for both files, but only the file where remove was clicked.

v10.69.0

v10.68.0

  • Added sv-SE translations to Eufemia and Eufemia Forms.
  • Added rendering of labelDescription beneath label and placed help button after label in all Field.* components.
  • Added countryCode to Form.Handler.
  • Added support for showing error messages on invalid date in Field.Date.
  • Adjusted the label width of Field.* components.
  • Adjusted the width of Value.* components.
  • Fixed so minDate and maxDate in Field.Date does not interrupt first form submit.
  • Fixed so value 000 000 000 should be invalid in Field.OrganizationNumber.
  • Fixed so value 0000 00 00000 should be invalid in Field.BankAccountNumber.
  • Fixed so Field.Name.Company must consist of at least 3 letters.
  • Fixed so there's no error message in the step menu of Wizard.Container after user has entered required data.
  • Fixed so there's no error message in the step menu of Wizard.Container for the active/current step.
  • Fixed so Value.Composition inherits properties defined in Value.Provider.

v10.67.1

  • Fixed so minDate and maxDate is validated by the start of the day (00:00) in Field.Date.

v10.67.0

v10.66.1

v10.66.0

  • Added inline help button (help) to all Value.* components as default (with option to open in Dialog).
  • Added validationMode property with bypassOnNavigation to Wizard.Container.
  • Added keepInDOM property to Wizard.Container.
  • Added existing errors in onSubmitRequest before Form.Handler submit or Wizard.Step change.
  • Fixed showing error in Wizard(StepIndicator) menu and prevent submission if previous steps contain errors or have an unknown state.
  • Fixed so validation always run on Wizard.Step changes.

v10.64.0

v10.63.0

  • Added support for nesting Iterate.Array inside of Iterate.Array.
  • Added showing field errors during submit inside Iterate.PushContainer when bubbleValidation is true.
  • Added support for conditional function based info, warning and error properties to all Field.*.
  • Added Iterate.Visibility to be used within Iterate.Array (relative paths).
  • Added support for transformSelection property to Field.Selection.
  • Added support for required property to Iterate.PushContainer.
  • Added support for required property to Iterate.Array.
  • Added support for itemPath property to Iterate.Array.
  • Added support for inline style property to options in Field.Selection.
  • Added support for arrays with errors for onChangeValidator and onBlurValidator.
  • Added support for property connectWithItemPath to onBlurValidator and onChangeValidator to be used within Iterate.
  • Added the internal array as a third parameter to the callback function’s children in Iterate.Array.
  • Added displayValue and label to transformData from fields inside Iterate.
  • Fixed so wizard step changes scroll so the Wizard(StepIndicator) is included at the top.
  • Fixed so Field.SelectCountry don't open when defaultValue is given.
  • Fixed typing of connectWithPath in validators.
  • Fixed so fileHandler will not execute when validation errors in Field.Upload.
  • Fixed so {itemNo} in label will work in Field.Toggle.
  • Fixed inactive Iterate.PushContainer blocking Wizard navigation when bubbleValidation is true.
  • Fixed animation for Form.Visibility when used inside Value.SummaryList.
  • Deprecated continuousValidation in favor of validateContinuously in all Field.* components and Form.Visibility.

v10.62.4

  • Fixed so divider line is displayed when setting divider="line" in Iterate.* components.
  • Ensured setFormError in Form.useValidation accepts undefined or null as value.
  • Prioritized gap over stack spacing in Form.Card.

v10.62.1

  • Fixed font-size of non-clickable Field.Upload item in Field.Upload.
  • Fixed support for sessionStorageId in Field.Upload.

v10.62

v10.61

  • Added support for async onFileClick in Value.Upload.
  • Fixed so transformIn and transformOut supports changed array and object instances.
  • Fixed issue where label did not stretch when providing width="stretch" in FieldBlock which is used in most Field.* components.

v10.60.1

  • Fixed so there's a gap between file and remove button in Field.Upload.
  • Fixed so there's no scrolling when removing file in Field.Upload.
  • Fixed handling of multiple chained async actions using fileHandler, onFileClick, and onFileDelete in Field.Upload.

v10.60

v10.58

v10.57

  • Added possibility for disabling individual options in Field.Selection and Field.ArraySelection.
  • Added labelSrOnly to Value.* components, to be able to provide a label that is not visible.
  • Added Form.Card component to make it easier to use Card inside a form.
  • Added outset property to Form.Card and Card.
  • Deprecated validator property in favor of onChangeValidator in Field.* components.
  • Renamed asyncFileHandler to fileHandler in Field.Upload, to support both async and sync file handling.
  • Fixed displaying indicator with async onBlurValidator call when validateInitially is used.
  • Fixed sharing submit indicator for fields inside Field.Composition.
  • Fixed so errorMessages won't result in infinite loops when not wrapped in useMemo.
  • Fixed alignment issue in Value.SummaryList, when providing a field without label.

v10.56

  • Added inline help button (help) to all Field.* components as default (with option to open in Dialog).
  • Added asyncFileHandler to Field.Upload, to support async file handling during upload.
  • Added support for DatePicker properties in Field.Date.
  • Added support for multiple info, warning and error messages by making it possible to provide an array of messages.
  • Fixed so info and warning properties renders given elements.

v10.55.1

  • Added console.log warning when using invalid child in Value.SummaryList component.
  • Fixed Field.Upload error when using required, when navigating between Wizard step changes.

v10.55

  • Added transformLabel to Value.Composition.
  • Added Value.Upload component to render file values.
  • Added Iterate support for Field.PostalCodeAndCity when using country with a path.
  • Added layoutOptions for enhanced horizontal label layout in Field.Provider.
  • Added EditButton, CancelButton and DoneButton to Form.Section containers.
  • Added maximum possible value to joint-responsibility & daycare fields in Block.ChildrenWithAge.
  • Fixed vertical gap between Field.ArraySelection toggle buttons with checkbox variant.
  • Fixed so Field.Number with percent and without a value renders correctly.
  • Fixed so components having fieldset inside still can use spacing.
  • Fixed so there's no extra space from Value.* components when using inline property.
  • Fixed so errors display underneath fields when nested inside Field.Selection or Field.ArraySelection.

v10.54

  • Deprecated Ajv validationRule in FormError and deprecated errorMessages keys like pattern in favor of Eufemia translation keys like Field.errorPattern. For a migration guide, take a look at release notes for the future major release, v11.
  • Added docs about emptyValue.
  • Added transformData to the onSubmit event listener of Form.Handler.
  • Added onDone, onCancel and onEdit events to Form.Section containers.
  • Updated country names in list of countries used in Field.SelectCountry.
  • Fixed so decimalLimit={0} together with currency in Field.Number, and decimalLimit={0} in Field.Currency, will not allow input of decimals.
  • Fixed so it's possible to render multiple (combined) Ajv errors with translated messages, in FieldBlock.
  • Fixed so onBlurValidator only runs when no other errors(like required, etc.) are present, in useFieldProps.
  • Fixed so autocomplete="off" is correctly set when setting autoComplete={false} in Form.Handler.
  • Fixed alignment of status message (error, warning, info) in Wizard.
  • Fixed schema validation for required paths with matching name.
  • Fixed correct sorting of countries in Field.SelectCountry.

v10.53

v10.52

v10.51

v10.50

v10.48

v10.46

v10.45

v10.43

v10.41

v10.38

v10.36

  • Added support for dynamic Wizard steps with the active and activeWhen property (Wizard.Step).

v10.35

v10.34

v10.33

  • Added Form.Section that contains components and functionality for composing blocks of fields and values to be reused in different contexts.

v10.32

v10.31

v10.30

  • Added Form.FieldProps (which got renamed to Field.Provider) component to forward field properties, such as required or disabled to all nested field components.
  • Added locale and translations to Form.Handler component to support custom translations.
  • Added disabled and required to Form.Handler component and pass these properties to the children fields.
  • Added fieldPropsWhenHidden to Form.Visibility component to pass properties to the children when visibility is hidden.

v10.29

v10.28

v10.27

  • Stable release of the Eufemia Forms extension 🎉