Releases: optimajet/formengine
Releases · optimajet/formengine
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.
Form Engine 1.13.0
- The
readOnly
property that allows the user to view the form in read only mode has been added to the FormViewerProps and to the FormBuilderProps. - For all valued components, a
readOnly
property has been added. - Fixed and improved Drag and drop behavior for components.
- The ActionDefinition and Language classes were exported from designer-bundle and viewer-bundle.
- The dependency on the
@emotion/styled
package has been removed from the core package. - Added documentation for the Rich text editor and TimePicker components.
Form Engine 1.12.0
- Now the component id is used instead of the component key when processing and filtering events.
- Now the function onFormDataChange will not be called inside the templates. This call should only be made by the parent form.
- Several minor bugs affecting performance have also been fixed.
Form Engine 1.11.0
- Added the
Time picker
component. - Added the time annotation builder and property editor for editing properties with the
time
type. - Added the
Rich text editor
component. - Added the object annotation builder and property editor for editing properties with the
object
type. - Added the BuilderContextProvider and useBuilderContext hook to use the Designer's state in custom components.
- Fixed a bug where the
One tap
property in theDate picker
component had theevent
type instead ofboolean
. - Fixed a bug where the application crashed if the date was entered from the keyboard into the
Date picker
component. - Fixed the height of the property editors.
- The
this
property is now bound in implementations of theField
interface.
Documentation
- Added the Formik integration guide.
- The documentation on the Actions has been significantly expanded.