@opengeoweb/form-fields 4.8.0 → 4.10.0
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/index.esm.js
CHANGED
|
@@ -53,7 +53,7 @@ function __rest(s, e) {
|
|
|
53
53
|
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
54
54
|
* */
|
|
55
55
|
var defaultProps = {
|
|
56
|
-
shouldUnregister:
|
|
56
|
+
shouldUnregister: false
|
|
57
57
|
};
|
|
58
58
|
var errorMessages = {
|
|
59
59
|
required: 'This field is required',
|
|
@@ -409,7 +409,7 @@ var ReactHookFormSelect = function ReactHookFormSelect(_a) {
|
|
|
409
409
|
|
|
410
410
|
_onChange(changeEvent);
|
|
411
411
|
},
|
|
412
|
-
value: value,
|
|
412
|
+
value: value || '',
|
|
413
413
|
variant: "filled"
|
|
414
414
|
}, otherProps), children));
|
|
415
415
|
};
|
package/index.umd.js
CHANGED
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
112
112
|
* */
|
|
113
113
|
var defaultProps = {
|
|
114
|
-
shouldUnregister:
|
|
114
|
+
shouldUnregister: false
|
|
115
115
|
};
|
|
116
116
|
var errorMessages = {
|
|
117
117
|
required: 'This field is required',
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
|
|
473
473
|
_onChange(changeEvent);
|
|
474
474
|
},
|
|
475
|
-
value: value,
|
|
475
|
+
value: value || '',
|
|
476
476
|
variant: "filled"
|
|
477
477
|
}, otherProps), children));
|
|
478
478
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/form-fields",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.0",
|
|
4
4
|
"description": "GeoWeb form-fields library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"react-hook-form": "^7.41.5",
|
|
16
16
|
"react": "^17.0.2",
|
|
17
17
|
"@mui/material": "^5.10.8",
|
|
18
|
-
"@opengeoweb/theme": "4.
|
|
18
|
+
"@opengeoweb/theme": "4.10.0",
|
|
19
19
|
"moment": "^2.29.0",
|
|
20
20
|
"moment-timezone": "^0.5.31",
|
|
21
21
|
"@mui/x-date-pickers": "^5.0.4",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|