@formio/js 5.0.0-dev.5834.aaa6886 → 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
@@ -76,6 +76,41 @@ 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
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
79
114
 
80
115
  ### New Features
81
116
 
@@ -126,7 +161,7 @@ This is a **Breaking Change** so please see the section below for more informati
126
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.
127
162
 
128
163
  #### Core SDK
129
- 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.
130
165
 
131
166
  For example, the following code still works.
132
167
 
@@ -167,7 +202,7 @@ With the 5.x version of the renderer/builder, there has been much effort into re
167
202
  - formio.form.min.js ~ 1.4mb => ~30% size reduction
168
203
  - formio.min.js (SDK) ~ 235k => ~50% size reduction
169
204
 
170
- #### New lazy-loading Embedding method.
205
+ #### New lazy-loading Embedding method.
171
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.
172
207
 
173
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.
@@ -262,7 +297,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
262
297
  ```js
263
298
  const isValid = form.getComponent('editgrid').validateRow().length === 0;
264
299
  ```
265
-
300
+
266
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.
267
302
 
268
303
  **4.x Renderer**
@@ -291,7 +326,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
291
326
  console.log(textField.visibleErrors); // This is the equivalent of the 4.x renderer "errors" array.
292
327
  ```
293
328
 
294
- - 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.
295
330
 
296
331
  ### Fixed
297
332
  - FIO-7525: fixed an issue where new conditional logic based on select boxes does not work
@@ -434,7 +469,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
434
469
 
435
470
  ### Changed
436
471
  - Add capability for adding sanitize profiles through sanitizeConfig in options
437
-
472
+
438
473
  ## 5.0.0-rc.26
439
474
  ### Changed
440
475
  - More improvements to the embed capabilities.
@@ -515,7 +550,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
515
550
  ## 5.0.0-rc.6
516
551
  ### Added
517
552
  - FIO-5748: added collapsible preview for Form Builder
518
-
553
+
519
554
  ### Fixed
520
555
  - FIO-6950: fixed test
521
556
  - FIO-6669: fixed tooltips cutting off in the component settings modal
@@ -527,7 +562,7 @@ Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/e
527
562
  - FIO-6453: added sanitization inside error message container
528
563
  - FIO-6345: Add rel=noopener to Links to Docs / External Links
529
564
  - FIO-5042: Logout feature for OIDC
530
-
565
+
531
566
  ### Fixed
532
567
  - FIO-6616: fixed issue where the select templates were not getting set correctly in selectData
533
568
  - FIO-6533: fixed an issue where file upload hash causing delays in file uploads
@@ -609,7 +644,7 @@ Formio.use(bootstrap4);
609
644
  ### Added
610
645
  - FIO-4429: Add support for pdf auto conversion fields assignment
611
646
  - Added basic keyboard accessibility for formbuilder
612
-
647
+
613
648
  ### Fixed
614
649
  - FIO-6512: cannot drag and drop components on to pdf first forms using mac
615
650
  - FIO-6468: fixed an issue where Custom validation on Day component is confusing Day and Year
@@ -763,9 +798,9 @@ Formio.use(bootstrap4);
763
798
  - FIO-5069: API driven dataTable
764
799
  - FIO-5455: Fixes context variables not available in datetime custom disabled dates config
765
800
  - FIO-5544: added sticky property to the form components when building forms
766
- - Upgrade vanilla text mask and text-mask addons.
801
+ - Upgrade vanilla text mask and text-mask addons.
767
802
  - FIO-3814: fixed fetch data several times when RefreshOnBlur
768
-
803
+
769
804
  ## 4.15.0-rc.13
770
805
  ### Added
771
806
  - FIO-4836: hash was added to file
@@ -774,7 +809,7 @@ Formio.use(bootstrap4);
774
809
  - FIO-4942: fixed email submission: Custom PDF File Name is not respected
775
810
  - FIO-4997: extended check for execution on the server side for tabs component
776
811
  - FIO-4861: fixed restored revision node
777
- - FIO-4976: Fixes select resource data not showing on submission
812
+ - FIO-4976: Fixes select resource data not showing on submission
778
813
  - FIO-5053: fixed an issue where select data with html5 widget type is not showing on view or pdf download after submission
779
814
  - FIO-5003: fixed that the radio with the value "false" is not displayed in different templates.
780
815
  - FIO-4970: reduced limit query parameter value for resource requests
@@ -888,7 +923,7 @@ Formio.use(bootstrap4);
888
923
  - FIO-4571: Fixea an issue where tooltips do not appear on hover in the component setting modal
889
924
  - FIO-2645: Made clicking on the error of Container component redirect to it.
890
925
  - FIO-4595, FIO-4364: Fixes Select with URL keeping default value on pdf submission
891
- - FIO-4362: Fixed issues with checkbox set as radio type.
926
+ - FIO-4362: Fixed issues with checkbox set as radio type.
892
927
  - FIO-4615: Fixing issues with calendar widget with save as text.
893
928
 
894
929
  ## 4.15.0-rc.1
@@ -909,7 +944,7 @@ Formio.use(bootstrap4);
909
944
  - FIO-4443: Fixed signature not visible when generating a pdf.
910
945
  - FIO-4466: Fixed 'Save as reference' in Select resource
911
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
912
- - FIO-4487: Protect the comp variable when iterating in wizards
947
+ - FIO-4487: Protect the comp variable when iterating in wizards
913
948
  - FIO-4405: fixed an issue where form doesn't submit if hidden radio component has storage type as string
914
949
  - FIO-3715: fixed an issue where validation errors were shown with a submission in draft state if container component inside the form
915
950
  - FIO-4442: fixed an issue where date is showing the date prior to submitted date on view tab and data tab