Releases: optimajet/formengine
Releases · optimajet/formengine
Form Engine 3.6.0
- The
failOnError
parameter has been added for the validation action. If it is enabled, then if validation fails, the actions that go on
will not be triggered. - Fixed a bug where events triggered in the
useEffect
of custom components did not fire. - Fixed several grammatical typos in the localization and messages of the application.
Form Engine 3.5.0
New
- Preset components.
- License verification errors now log to the console.
- The IFormData.validate() function now returns validation errors.
Fixed bugs
- Fixed broken validation for property values of type
Date
. - Fixed cases where
ComponentData
was not properly disposed. - Fixed cursor icon display over labels in the components palette.
Updated internal dependencies
- vite from v4.5.10 to v4.5.12.
Form Engine 3.4.1
- Rolled back the changes that caused
initialJson
to work incorrectly in the added components.
Form Engine 3.4.0
- Now the custom localization is combined with the built-in one if the user wants to expand the existing one.
- Added the globalDefaultLanguage constant which contains information about the default language.
- The internal logic of building and destroying the component tree has also been improved, which improves performance.
- Fixed a bug in ActionEventArgs where the parentData parameter could be incorrectly set.
Updated internal dependencies
- vite from v4.5.10 to v4.5.12.
Form Engine 3.3.0
- Added the useFormBuilder hook to get and manage the Form Builder from customization.
- Now the insertion order when moving several elements corresponds to their position on the form. Previously, they were inserted in the order in which the user selected them.
Form Engine 3.2.0
- The ability to enter values for calculated fields has been returned.
- For properties that are declared as valued, you can now set an uncontrolled value that will replace undefined. This is necessary to avoid the React error "A component is changing a controlled input to be uncontrolled".
- Fixed a bug that caused the reset button in the numeric property editor to not work.
- Fixed a potential memory leak in the Repeater component.
- Fixed a bug where components were sometimes not displayed in view mode.
- Fixed a typo in localization.
Form Engine 3.1.0
New
- Designer: added static CSS classes for customizable components and components palette.
- Added ability to restrict drag-and-drop for node and
nodeArray
. - Added ability to restrict drag-and-drop for components.
- Added a clear button for the
string
type property editor.
Changed
- The
pullRight
option has been removed from the Menu and Tab components. - The
ComponentState
internal component no longer usesviewerProps
. - Tab now uses buttons instead of tab anchors.
- The Item as option has been added to the select element to render navigation buttons to
the Menu component. - Tabs in the Designer now use buttons instead of anchors.
Fixed bugs
- In rare cases, a warning of type
Cannot update a component while rendering a different component
may occur. - Fixed
__DOT__
in localized messages in some cases. - Resolved issues with inactive dropzone outlines in some cases.
Documentation
- Updated the Designer customization with new options.
- Extended the description of components.
- Fixed the missing customization description for
FormContainer
block.
Updated internal dependencies
- monaco-editor from v0.43.0 to v0.52.2.
- @monaco-editor/react from v4.6.0 to v4.7.0.
Form Engine 3.0.2
Fixed bugs
- The @rsuite/icons package is set to version 1.0.3.
Form Engine 3.0.1
Fixed bugs
- Fixed incorrect import of
@rsuite/icons/esm/icons/status/RemindFill.js
. - vite rolled back to version 4.5.9.
- undici update from 6.21.0 to 6.21.1 in '/examples/with-remix/with-remix-v2'.
Form Engine 3.0.0
Breaking changes
- Added React 19 support.
- Model.icon property moved to Meta.
- The initial value and value properties of the Rich text editor are now of type string.
- @emotion/cache updated to 11.14.0.
- @emotion/css updated to 11.13.5.
- @emotion/react updated to 11.14.0.
- mobx updated updated to 6.13.5.
- mobx-react updated to 9.2.0.
New
- Components can be deleted by pressing Delete button.
- Added upload server example.
Fixed bugs
- A phantom selection remains after a drag and drop operation.
- Some minor bugs related to adding components by double-clicking.
- Fixed the bug of being able to select multiple files without setting the Multiple option in the Uploader component.
- A component cannot be added after undo by double-clicking it.
- The text of the ‘Add New Item’ button was not visible in dark mode.
- Broken form label markup when the form is empty.
Updated internal dependencies
- vite from 4.2.1 to 6.0.7.