Releases: optimajet/formengine
Releases · optimajet/formengine
Form Engine 1.10.0
- Added a FormBuilder prop to control the designer's theme.
- Added an hideEditor() option that allows hide the component property editor when creating annotations (defining component properties).
Fixed bugs
- After unchecking the
Auto validatecheckbox, the checkbox stops working and the list of previously created validators is deleted. - When clicking on the
Deletebutton without selecting a component, the currently selected component will lose its selection
Form Engine 1.9.0
- Added the
preloadproperty to theDropdownandSearchcomponents. It enables preloading data before opening the drop-down list (on component mount). - The onFormSchemaChange callback has been added to the
FormBuilderprops. It is called whenever a form schema changes. - Now the component keys are generated as valid
JavaScriptidentifiers - in camelCase and without spaces. - Now the active tabs in the left and right panels of the
Designerare saved after the page is reloaded, as well as when switching between components.
Form Engine 1.8.0
- Now the entered value in the component key editor is also applied by pressing Enter.
Fixed bugs
- The
IFormBuilderref does not work. - A string date value passed via
initialDatato theDatePickercomponent causes an error. - If the name of an existing form is used to create a new form, the existing form will be overwritten.
Form Engine 1.7.0
- Added validation for the format property in the
DatePickercomponent. - Fixed a bug that prevented the string property editor from turning into a text area when inserting large text.
- Fixed a bug in the "Key" property editor, due to which the key verification message was not updated when duplicating a component with the same key value.
- Added support for Esc and Enter hotkeys in the prompt dialog.
- After creating a new form, the old one is automatically saved and the designer switches to the new form.
- Made the
propsattribute optional when parsing JSON for components. - The API reference documentation has been updated.
- Added a new component
TagPicker.
Form Engine 1.6.0
- Added the
QR Codecomponent for generating and displaying QR codes. - Added a guide to connecting the WASM component.
- Now information about files is displayed, instead of an empty object in the Data view (located to the left of the form preview).
- Added the
Read-onlyoption to theSignaturecomponent. - Fixed a bug where localization was not applied in the
Calendarcomponent. - Removed the default value
0for thetimeoutproperty of theUploadercomponent (the0value, likeundefined, is no timeout).
Form Engine 1.5.2
Fixed bugs
- Clearing the RSuite components with default value not triggering touched flag.
- Clearing the date property is not working correctly.
- The DatePicker crashes when the format is incorrect.
- The defaultValue does not work in DatePicker.
- The NumberFormat crashes with a negative decimal scale.
- The value of the Number property changes to NaN when backspace is pressed on a negative value.
Form Engine 1.5.1
- Fixed incorrectly set default values for DatePicker and Uploader components (the bug was introduced in the 1.5.0 release).
- Fixed
closableproperty for Message component.
Form Engine 1.5.0
- Added Toggle component.
- Added guide for integration with Electron.
- An error handler has been added to the
FormBuildercomponent to prevent the application from crashing if a faulty component is used. - Added default values to all boolean properties of components
- Fixed a bug that caused hook
useUniqueIdto break the build. - Other minor style fixes.
Form Engine 1.4.0
- Updated documentation on using
refwithFormBuilderandFormViewercomponents. - Added ability to pass custom component errorWrapper.
- The React Suite library has been updated to version 5.64.2.
- Fixed bug where only the first action handler was executed on the
onWillUnmountevent. - Fixed keyboard navigation in Dropdown component.
- The
keyproperty is now passed separately from other component properties, previous behavior caused a warning in React 18.3.1. - Added ability to define validators using code for all value types.
- Updated internal dependencies:
- braces from 3.0.2 to 3.0.3.
- ws from 7.5.9 to 7.5.10.
Form Engine 1.3.1
- Fixed a bug that caused calculated properties to not work.