Releases: optimajet/formengine
Releases · optimajet/formengine
Form Engine 5.2.0
New
- Added clear button for boolean field editor.
- Added editor configuration for node annotation type.
- Components with no category defined will pop to the top of the list.
Fixed bugs
- Fixed crash in create Presets component modal when selecting category.
Changed
- New TypeDoc version, documentation regenerated, some links are changed.
- Drop
rxjs
as dependency fromcore
andDesigner
packages.
Updated internal dependencies
- form-data from 4.0.1 to 4.04.4.
Form Engine 5.1.0
New
- Added support for functional type properties.
- Added the formOptions property to pass custom options to the getForm function.
- Added the options property for templates, similar to formOptions.
- Added support for one-way data binding for component properties.
- Added ability to create computed and localized properties using the form JSON builder.
- Added the persistFormName property to disable form name persistence in localStorage.
- Added the AutoComplete component.
- Added visual highlighting for user-modified component properties.
Fixed bugs
- Fixed dropdown positioning in code action arguments editor (previously appearing off-screen).
- Fixed
aria-label
attribute added on components without labels.
Updated internal dependencies
- rsuite from 5.80.2 to 5.83.1.
Form Engine 5.0.1
In this release, we have reorganized the structure of our [public repository](https://github.com/optimajet/formengine /) and added license files for your convenience.
New
- Added an article on how to use useDefinedProps.
Form Engine 5.0.0
With this release, we have published the code for the following packages in our open-source repository:
@react-form-builder/core
@react-form-builder/components-rsuite
@react-form-builder/viewer-bundle
Breaking changes
- The Signature component has been moved to a separate package.
- Removed
computeChildren
prop from FormViewerProps. - Removed
onDataLoad
prop fromTagPicker
component. - Removed
licenseKey
prop fromFormViewer
component.
Changed
- Migrated examples and demo app to Vite.
New
- Added ARIA attributes
aria-errormessage
,aria-invalid
,aria-labelledby
to all input components.
Fixed bugs
- Fixed keyboard navigation in dropdown lists. The virtualized list must be disabled via an option.
- Removed unnecessary
stylis-plugin-rtl
dependency from@react-form-builder/designer
package.
Form Engine 4.3.2
- Fixed a bug where the Designer application crashed trying to access the
process.env
.
Updated internal dependencies
- brace-expansion from 1.1.11 to 1.1.12.
Form Engine 4.3.1
- Fixed a bug where the Designer application crashed trying to access the
process.env
.
Form Engine 4.3.0
New
- The disabled and readOnly properties have been added to the Screen, Container, and Template components. These properties allow you to make the entire form or part of it disabled or read-only.
- A form validation editor has been added to the designer. It allows you to set a code that will check the entire form.
- Added localizations in Hindi, Serbian, Japanese, and Korean.
- Now the required validation parameters are displayed above the optional ones.
Fixed bugs
- Fixed a bug where when the user entered a value into a numeric input field and then erased it, the field value turned to
0
instead of being cleared. - Fixed minor style issues in the Settings and Forms panels.
Updated internal dependencies
- multer from 2.0.0 to 2.0.1.
- tar-fs from 2.1.2 to 2.1.3.
Form Engine 4.2.0
- Now the "required" class name will be applied to components with "required" validation.
- In the RSuite components, the required fields are marked with a red asterisk.
- Required validation has been added for fields with the
date
,number
,boolean
,array
, andobject
types. - The
label
property has been added to the Calendar, Google Map and Uploader components. - The
errors
property which allows you to manually set form validation errors has been added to the FormViewerProps, FormBuilderProps and to the IFormData. - The loadForm method is marked as deprecated.
Form Engine 4.1.0
New
- Added Conditional validation that is performed only if certain conditions are met.
- The form data has been added to the Code validation function so that the field can be validated based on other values from the form.
- Added a new method allComponentFields to
ComponentData
that returns an array of all component fields, including non-unique data keys.
Fixed bugs
- Fixed a bug where the styles of cloned nested elements are applied to the original elements instead of the new ones.
- Now, when uploading a form with non-unique keys, the keys are corrected to unique ones so that errors do not occur.
Updated internal dependencies
- undici from 6.21.1 to 6.21.3.
Form Engine 4.0.0
With this release, the following packages are distributed under the MIT license:
@react-form-builder/core
@react-form-builder/components-rsuite
@react-form-builder/viewer-bundle
Commercial license keys now use a different format, and the licensing scheme has changed. For details, contact support@optimajet.com.
This change does not affect current customers, all existing keys will continue to work as before.
Breaking changes
useBuilderContext
hook has been removed.- FormViewerProps.language is now a
string
representing language full code.
Changed
- Default links in Menu now use hash-based navigation.
- The parameter
model
has been removed from createComponentData.
New
- Added FormJsonBuilder, a code-based tool for form creation.
- useBuilderMode hook has been introduced.
- Tab and Menu components now supports
pill
display variant.
Fixed bugs
- Fixed an issue where calculated values inside Repeater children might not display correctly.
- Resolved validation errors for min/max date constraints.
Updated internal dependencies
- rsuite from 5.64.2 to 5.80.2
- vite from v4.5.13 to v4.5.14.