@formio/js 5.0.0-dev.5834.98680ce → 5.0.0-dev.5834.b72f609

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 CHANGED
@@ -77,6 +77,40 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
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
79
  - FIO-9086: time component with default value validation fix
80
+ - FIO-9080 checkbox radio validation error
81
+ - FIO-9147: fixed an issue where the simple conditionally visible component is not validated on change
82
+ - FIO-9056: Fix enabling multiple values for address component
83
+ - FIO-9059: fixed an issue where the value for textarea with json datatype is not normalized and set correctly
84
+ - FIO-9075: fixed an issue where the form cannot be resubmitted if it has server errors
85
+ - FIO-9097 fixed navigation through the errors list
86
+ - FIO-8553: Replaced flatpickr-formio dependency with standard flatpickr
87
+ - FIO-8569: Fix sdk link
88
+ - FIO-8948-8950: fixed an issue where radio and select boxes with url type do not display in PDF download
89
+ - FIO-9034 fixed creating extra submit button
90
+ - FIO-8908: Fix error message appears when saving not fully filled conditionals tab
91
+ - FIO-8951: Updated conditions for selectData and added logic to clear selectData
92
+ - FIO-8556: Test coverage metrics
93
+ - FIO-9010: tighten up multivalue normalization by covering 'any' type models
94
+ - FIO-9010 fixed disappearance of components inside Columns after editing
95
+ - FIO-8991: fixed an issue where select value (when it is array with numbers) does not display in submission grid
96
+ - Fixed an issue where the 'root' may be the component that does not have a getComponent method
97
+ - FIO-8920 fixed errors list for the form with nested wizard
98
+ - FIO-8914: fixed an issue where errors list doesnot appear when submitting a PDF form
99
+ - FIO-8990: fixed incorrect moment export
100
+ - FIO-7778: validation link does not open modal
101
+ - FIO-8900-8899: made only 2 operators available for address component in conditionals ui and fixed setting an empty value for address
102
+ - FIO-8914: fixed an issue where select url does not work properly when url value has whitespaces at the end
103
+ - FIO-8970 resolved failing test
104
+ - FIO-8921: fixed an issue where newly created PDF-form cannot be saved in builder after adding some components in it
105
+ - FIO-8866-8864: fixed simple conditions operators for recaptcha
106
+ - FIO-9158: fixed an issue where Password component error message persists to displayed in Edit page
107
+ - FIO-9126: fixed display of value for Day component with hidden fields
108
+ - FIO-9158: fixed password component error in Edit page
109
+ - FIO-9127 fixed saving empty values for Day component with hidden fields
110
+ - FIO-9153-9154: fixed console errors when navigating tagpad validation errors
111
+ - FIO-9127 fixed saving an empty value for day component after deleting values
112
+ - FIO-9120: Fix issue with unchecking radio default value
113
+ - FIO-7195/FIO-8234: Fixes an issue where Select renders value properties instead of labels in DataTable
80
114
 
81
115
  ### New Features
82
116
 
@@ -127,7 +161,7 @@ This is a **Breaking Change** so please see the section below for more informati
127
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.
128
162
 
129
163
  #### Core SDK
130
- 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.
131
165
 
132
166
  For example, the following code still works.
133
167
 
@@ -168,7 +202,7 @@ With the 5.x version of the renderer/builder, there has been much effort into re
168
202
  - formio.form.min.js ~ 1.4mb => ~30% size reduction
169
203
  - formio.min.js (SDK) ~ 235k => ~50% size reduction
170
204
 
171
- #### New lazy-loading Embedding method.
205
+ #### New lazy-loading Embedding method.
172
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.
173
207
 
174
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.
@@ -263,7 +297,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
263
297
  ```js
264
298
  const isValid = form.getComponent('editgrid').validateRow().length === 0;
265
299
  ```
266
-
300
+
267
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.
268
302
 
269
303
  **4.x Renderer**
@@ -292,7 +326,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
292
326
  console.log(textField.visibleErrors); // This is the equivalent of the 4.x renderer "errors" array.
293
327
  ```
294
328
 
295
- - 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.
296
330
 
297
331
  ### Fixed
298
332
  - FIO-7525: fixed an issue where new conditional logic based on select boxes does not work
@@ -435,7 +469,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
435
469
 
436
470
  ### Changed
437
471
  - Add capability for adding sanitize profiles through sanitizeConfig in options
438
-
472
+
439
473
  ## 5.0.0-rc.26
440
474
  ### Changed
441
475
  - More improvements to the embed capabilities.
@@ -516,7 +550,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
516
550
  ## 5.0.0-rc.6
517
551
  ### Added
518
552
  - FIO-5748: added collapsible preview for Form Builder
519
-
553
+
520
554
  ### Fixed
521
555
  - FIO-6950: fixed test
522
556
  - FIO-6669: fixed tooltips cutting off in the component settings modal
@@ -528,7 +562,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
528
562
  - FIO-6453: added sanitization inside error message container
529
563
  - FIO-6345: Add rel=noopener to Links to Docs / External Links
530
564
  - FIO-5042: Logout feature for OIDC
531
-
565
+
532
566
  ### Fixed
533
567
  - FIO-6616: fixed issue where the select templates were not getting set correctly in selectData
534
568
  - FIO-6533: fixed an issue where file upload hash causing delays in file uploads
@@ -610,7 +644,7 @@ Formio.use(bootstrap4);
610
644
  ### Added
611
645
  - FIO-4429: Add support for pdf auto conversion fields assignment
612
646
  - Added basic keyboard accessibility for formbuilder
613
-
647
+
614
648
  ### Fixed
615
649
  - FIO-6512: cannot drag and drop components on to pdf first forms using mac
616
650
  - FIO-6468: fixed an issue where Custom validation on Day component is confusing Day and Year
@@ -764,9 +798,9 @@ Formio.use(bootstrap4);
764
798
  - FIO-5069: API driven dataTable
765
799
  - FIO-5455: Fixes context variables not available in datetime custom disabled dates config
766
800
  - FIO-5544: added sticky property to the form components when building forms
767
- - Upgrade vanilla text mask and text-mask addons.
801
+ - Upgrade vanilla text mask and text-mask addons.
768
802
  - FIO-3814: fixed fetch data several times when RefreshOnBlur
769
-
803
+
770
804
  ## 4.15.0-rc.13
771
805
  ### Added
772
806
  - FIO-4836: hash was added to file
@@ -775,7 +809,7 @@ Formio.use(bootstrap4);
775
809
  - FIO-4942: fixed email submission: Custom PDF File Name is not respected
776
810
  - FIO-4997: extended check for execution on the server side for tabs component
777
811
  - FIO-4861: fixed restored revision node
778
- - FIO-4976: Fixes select resource data not showing on submission
812
+ - FIO-4976: Fixes select resource data not showing on submission
779
813
  - FIO-5053: fixed an issue where select data with html5 widget type is not showing on view or pdf download after submission
780
814
  - FIO-5003: fixed that the radio with the value "false" is not displayed in different templates.
781
815
  - FIO-4970: reduced limit query parameter value for resource requests
@@ -889,7 +923,7 @@ Formio.use(bootstrap4);
889
923
  - FIO-4571: Fixea an issue where tooltips do not appear on hover in the component setting modal
890
924
  - FIO-2645: Made clicking on the error of Container component redirect to it.
891
925
  - FIO-4595, FIO-4364: Fixes Select with URL keeping default value on pdf submission
892
- - FIO-4362: Fixed issues with checkbox set as radio type.
926
+ - FIO-4362: Fixed issues with checkbox set as radio type.
893
927
  - FIO-4615: Fixing issues with calendar widget with save as text.
894
928
 
895
929
  ## 4.15.0-rc.1
@@ -910,7 +944,7 @@ Formio.use(bootstrap4);
910
944
  - FIO-4443: Fixed signature not visible when generating a pdf.
911
945
  - FIO-4466: Fixed 'Save as reference' in Select resource
912
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
913
- - FIO-4487: Protect the comp variable when iterating in wizards
947
+ - FIO-4487: Protect the comp variable when iterating in wizards
914
948
  - FIO-4405: fixed an issue where form doesn't submit if hidden radio component has storage type as string
915
949
  - FIO-3715: fixed an issue where validation errors were shown with a submission in draft state if container component inside the form
916
950
  - FIO-4442: fixed an issue where date is showing the date prior to submitted date on view tab and data tab