Releases: optimajet/formengine
Releases · optimajet/formengine
Form Engine 3.0.2
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.
Form Engine 2.4.0
- Components can now be added by double-clicking in Designer.
- Updated internal dependencies:
- braces from 3.0.2 to 3.0.3.
- nanoid from 3.3.6 to 3.3.8.
Fixed bugs
- Incorrect display of custom validation in Designer.
- Display an empty error object for the repeater if all fields are valid.
Form Engine 2.3.0
- Added a search field on the Forms tab.
- Added the ability to use hooks and functions inside custom property editors to access component and engine data. These are, for example useComponentData, useStore, and others.
- The formLoadError field has been added to the FormViewer API that signals the failure of loading the form, and also contains the error text.
- Now, if the form is loaded unsuccessfully, a message about this is displayed in the form designer, as well as a suggestion to create a new form.
Fixed bugs
- When changing the value of actions in FormViewer props after initialization, their value inside the engine did not change.
- Saving the form is called twice when creating a new form, as well as in some other cases.
Form Engine 2.2.0
- Added actions for managing rows in the Repeater component.
- Added the ability to work with objects in localization.
- Added guide for usage with Remix.
- Now, if there are several validation errors in one field, then by default, only the first one is displayed for better readability.
- The showAllValidationErrors option has been added to
FormViewerProps
to display all validation errors on the field, not just the first one.
Fixed bugs
- The list of templates did not load completely when the page was first opened.
- A non-empty value is set by default for numeric and boolean action arguments.
Form Engine 2.1.0
- Added the Map component and its usage guide.
- Added a sample application for Next.js.
- Added the option to select type attribute for RsInput component.
Fixed bugs
- Console errors that occur when a variable inside localization is not defined.
- The calculated value for HTML attributes.
- The display of simple values as calculated after rolling back from a calculated state.
Form Engine 2.0.0
This release changes parts of the public and internal API.
- Added the Repeater component that is responsible for displaying an array of repeating components.
- Added the Using Repeater guide.
Form Engine 1.14.1
- The changes
Fixed a bug that prevented events set in the useEffect of user components from being triggered
from the previous release were canceled because it broke other functionality. A non-breaking fix will be released soon. For now, we recommend using React 18 to avoid encountering this bug.
Form Engine 1.14.0
- Added the Wizard component for creating step-by-step forms with the ability to transition between steps.
- Containers now display their keys when dragging components to make it easier to navigate.
- Fixed a bug that prevented events set in the useEffect of user components from being triggered.
- Fixed a bug where dragging inside Tabs, Message and Card components didn't work.