@formio/js 5.0.0-dev.5863.a2bd4af → 5.0.0-dev.5865.8754bf3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Changelog.md +15 -14
- package/dist/formio.form.js +16 -16
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.full.js +17 -17
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.utils.js +11 -11
- package/dist/formio.utils.min.js +1 -1
- package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.js +1 -1
- package/lib/cjs/components/_classes/component/editForm/Component.edit.data.js +1 -1
- package/lib/cjs/components/_classes/component/editForm/utils.js +1 -1
- package/lib/cjs/components/form/editForm/Form.edit.data.js +1 -1
- package/lib/cjs/components/select/Select.d.ts +1 -1
- package/lib/cjs/components/select/Select.js +5 -12
- package/lib/cjs/components/time/Time.js +0 -6
- package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.js +1 -1
- package/lib/mjs/components/_classes/component/editForm/Component.edit.data.js +1 -1
- package/lib/mjs/components/_classes/component/editForm/utils.js +1 -1
- package/lib/mjs/components/form/editForm/Form.edit.data.js +1 -1
- package/lib/mjs/components/select/Select.d.ts +1 -1
- package/lib/mjs/components/select/Select.js +4 -11
- package/lib/mjs/components/time/Time.js +0 -6
- package/package.json +2 -2
package/Changelog.md
CHANGED
|
@@ -76,6 +76,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
76
76
|
- FIO-8234/FIO-7195: Fixes an issue where value properties are shown instead of labels for Select component with Resource/URL data sources in read only mode and for modal preview
|
|
77
77
|
- FIO-8986: fixed setting default value for day component with hidden day and month
|
|
78
78
|
- FIO-8719: fixed error message display for nested wizard components
|
|
79
|
+
- FIO-9086: time component with default value validation fix
|
|
79
80
|
- FIO-9080 checkbox radio validation error
|
|
80
81
|
- FIO-9147: fixed an issue where the simple conditionally visible component is not validated on change
|
|
81
82
|
- FIO-9056: Fix enabling multiple values for address component
|
|
@@ -109,7 +110,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
109
110
|
- FIO-9153-9154: fixed console errors when navigating tagpad validation errors
|
|
110
111
|
- FIO-9127 fixed saving an empty value for day component after deleting values
|
|
111
112
|
- FIO-9120: Fix issue with unchecking radio default value
|
|
112
|
-
- FIO-7195/FIO-8234: Fixes an issue where Select renders value properties instead of labels in DataTable
|
|
113
|
+
- FIO-7195/FIO-8234: Fixes an issue where Select renders value properties instead of labels in DataTable
|
|
113
114
|
|
|
114
115
|
### New Features
|
|
115
116
|
|
|
@@ -160,7 +161,7 @@ This is a **Breaking Change** so please see the section below for more informati
|
|
|
160
161
|
The 5.x renderer incorporates our new Core validation engine found @ https://github.com/formio/core/tree/master/src/process. This process can be briefly described within the pull request notes @ https://github.com/formio/formio.js/pull/5317. This will also improve our Iso-morphic behavior for our renderer validation and significantly improve memory and processor consumption for server-side form validations. This feature does have a **Breaking Change** which is described below.
|
|
161
162
|
|
|
162
163
|
#### Core SDK
|
|
163
|
-
With the 5.x renderer, the Formio SDK is now part of our Core library found @ https://github.com/formio/core/tree/master/src/sdk. It is now imported directly into the @formio/js library and is re-exported to support reverse compatability. Because of this, there should not be any code upgrade involved.
|
|
164
|
+
With the 5.x renderer, the Formio SDK is now part of our Core library found @ https://github.com/formio/core/tree/master/src/sdk. It is now imported directly into the @formio/js library and is re-exported to support reverse compatability. Because of this, there should not be any code upgrade involved.
|
|
164
165
|
|
|
165
166
|
For example, the following code still works.
|
|
166
167
|
|
|
@@ -201,7 +202,7 @@ With the 5.x version of the renderer/builder, there has been much effort into re
|
|
|
201
202
|
- formio.form.min.js ~ 1.4mb => ~30% size reduction
|
|
202
203
|
- formio.min.js (SDK) ~ 235k => ~50% size reduction
|
|
203
204
|
|
|
204
|
-
#### New lazy-loading Embedding method.
|
|
205
|
+
#### New lazy-loading Embedding method.
|
|
205
206
|
One of the more exciting new additions to the 5.x renderer is the new lazy-loading process for adding the renderer to your application. There is a new file that is included with the 5.x renderer called "formio.embed.js". This file is tiny coming in at ~10kb. What this file does, however, is make it so that you can bundle a lazy-loading renderer within your application without increasing the build sizes of your application.
|
|
206
207
|
|
|
207
208
|
To use the new lazy-loading features, you will need to change your imports from the following to the new embed source as the following illustrates.
|
|
@@ -296,7 +297,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
|
|
|
296
297
|
```js
|
|
297
298
|
const isValid = form.getComponent('editgrid').validateRow().length === 0;
|
|
298
299
|
```
|
|
299
|
-
|
|
300
|
+
|
|
300
301
|
- In the 5.x renderer, the errors array will always be populated if there are errors in the form. They may not be displayed depending on the "pristine" state of the rendered form, but the error is always populated if there are form errors. This is different in 4.x where the error property would only contain and error if an error is VISIBLE on the form. This means that it is difficult to determine if a form has errors without executing the checkValidity() method with the dirty flag set to "true". You no longer need to do this in the 5.x renderer.
|
|
301
302
|
|
|
302
303
|
**4.x Renderer**
|
|
@@ -325,7 +326,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
|
|
|
325
326
|
console.log(textField.visibleErrors); // This is the equivalent of the 4.x renderer "errors" array.
|
|
326
327
|
```
|
|
327
328
|
|
|
328
|
-
- With the 5.x renderer, all templates are now stored within a separate repo, and are included as a dependency for this renderer.
|
|
329
|
+
- With the 5.x renderer, all templates are now stored within a separate repo, and are included as a dependency for this renderer.
|
|
329
330
|
|
|
330
331
|
### Fixed
|
|
331
332
|
- FIO-7525: fixed an issue where new conditional logic based on select boxes does not work
|
|
@@ -468,7 +469,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
|
|
|
468
469
|
|
|
469
470
|
### Changed
|
|
470
471
|
- Add capability for adding sanitize profiles through sanitizeConfig in options
|
|
471
|
-
|
|
472
|
+
|
|
472
473
|
## 5.0.0-rc.26
|
|
473
474
|
### Changed
|
|
474
475
|
- More improvements to the embed capabilities.
|
|
@@ -549,7 +550,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
|
|
|
549
550
|
## 5.0.0-rc.6
|
|
550
551
|
### Added
|
|
551
552
|
- FIO-5748: added collapsible preview for Form Builder
|
|
552
|
-
|
|
553
|
+
|
|
553
554
|
### Fixed
|
|
554
555
|
- FIO-6950: fixed test
|
|
555
556
|
- FIO-6669: fixed tooltips cutting off in the component settings modal
|
|
@@ -561,7 +562,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
|
|
|
561
562
|
- FIO-6453: added sanitization inside error message container
|
|
562
563
|
- FIO-6345: Add rel=noopener to Links to Docs / External Links
|
|
563
564
|
- FIO-5042: Logout feature for OIDC
|
|
564
|
-
|
|
565
|
+
|
|
565
566
|
### Fixed
|
|
566
567
|
- FIO-6616: fixed issue where the select templates were not getting set correctly in selectData
|
|
567
568
|
- FIO-6533: fixed an issue where file upload hash causing delays in file uploads
|
|
@@ -643,7 +644,7 @@ Formio.use(bootstrap4);
|
|
|
643
644
|
### Added
|
|
644
645
|
- FIO-4429: Add support for pdf auto conversion fields assignment
|
|
645
646
|
- Added basic keyboard accessibility for formbuilder
|
|
646
|
-
|
|
647
|
+
|
|
647
648
|
### Fixed
|
|
648
649
|
- FIO-6512: cannot drag and drop components on to pdf first forms using mac
|
|
649
650
|
- FIO-6468: fixed an issue where Custom validation on Day component is confusing Day and Year
|
|
@@ -797,9 +798,9 @@ Formio.use(bootstrap4);
|
|
|
797
798
|
- FIO-5069: API driven dataTable
|
|
798
799
|
- FIO-5455: Fixes context variables not available in datetime custom disabled dates config
|
|
799
800
|
- FIO-5544: added sticky property to the form components when building forms
|
|
800
|
-
- Upgrade vanilla text mask and text-mask addons.
|
|
801
|
+
- Upgrade vanilla text mask and text-mask addons.
|
|
801
802
|
- FIO-3814: fixed fetch data several times when RefreshOnBlur
|
|
802
|
-
|
|
803
|
+
|
|
803
804
|
## 4.15.0-rc.13
|
|
804
805
|
### Added
|
|
805
806
|
- FIO-4836: hash was added to file
|
|
@@ -808,7 +809,7 @@ Formio.use(bootstrap4);
|
|
|
808
809
|
- FIO-4942: fixed email submission: Custom PDF File Name is not respected
|
|
809
810
|
- FIO-4997: extended check for execution on the server side for tabs component
|
|
810
811
|
- FIO-4861: fixed restored revision node
|
|
811
|
-
- FIO-4976: Fixes select resource data not showing on submission
|
|
812
|
+
- FIO-4976: Fixes select resource data not showing on submission
|
|
812
813
|
- FIO-5053: fixed an issue where select data with html5 widget type is not showing on view or pdf download after submission
|
|
813
814
|
- FIO-5003: fixed that the radio with the value "false" is not displayed in different templates.
|
|
814
815
|
- FIO-4970: reduced limit query parameter value for resource requests
|
|
@@ -922,7 +923,7 @@ Formio.use(bootstrap4);
|
|
|
922
923
|
- FIO-4571: Fixea an issue where tooltips do not appear on hover in the component setting modal
|
|
923
924
|
- FIO-2645: Made clicking on the error of Container component redirect to it.
|
|
924
925
|
- FIO-4595, FIO-4364: Fixes Select with URL keeping default value on pdf submission
|
|
925
|
-
- FIO-4362: Fixed issues with checkbox set as radio type.
|
|
926
|
+
- FIO-4362: Fixed issues with checkbox set as radio type.
|
|
926
927
|
- FIO-4615: Fixing issues with calendar widget with save as text.
|
|
927
928
|
|
|
928
929
|
## 4.15.0-rc.1
|
|
@@ -943,7 +944,7 @@ Formio.use(bootstrap4);
|
|
|
943
944
|
- FIO-4443: Fixed signature not visible when generating a pdf.
|
|
944
945
|
- FIO-4466: Fixed 'Save as reference' in Select resource
|
|
945
946
|
- FIO-4496: fixed an issue where response from the resource does not display in the dropdown when more than one object is in the item template
|
|
946
|
-
- FIO-4487: Protect the comp variable when iterating in wizards
|
|
947
|
+
- FIO-4487: Protect the comp variable when iterating in wizards
|
|
947
948
|
- FIO-4405: fixed an issue where form doesn't submit if hidden radio component has storage type as string
|
|
948
949
|
- FIO-3715: fixed an issue where validation errors were shown with a submission in draft state if container component inside the form
|
|
949
950
|
- FIO-4442: fixed an issue where date is showing the date prior to submitted date on view tab and data tab
|