Releases: optimajet/formengine
Releases · optimajet/formengine
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.
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.