@rjsf/core 5.18.3 → 5.18.4
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/dist/core.umd.js +3 -2
- package/dist/index.esm.js +4 -3
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +2 -2
- package/lib/components/Form.d.ts +5 -1
- package/lib/components/Form.js +4 -4
- package/lib/components/Form.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/components/Form.tsx +9 -4
package/dist/core.umd.js
CHANGED
|
@@ -3006,7 +3006,7 @@
|
|
|
3006
3006
|
Object.keys(_obj).forEach((key) => {
|
|
3007
3007
|
if (typeof _obj[key] === "object") {
|
|
3008
3008
|
const newPaths = paths.map((path) => [...path, key]);
|
|
3009
|
-
if (_obj[key][utils.
|
|
3009
|
+
if (_obj[key][utils.RJSF_ADDITIONAL_PROPERTIES_FLAG] && _obj[key][utils.NAME_KEY] !== "") {
|
|
3010
3010
|
acc.push(_obj[key][utils.NAME_KEY]);
|
|
3011
3011
|
} else {
|
|
3012
3012
|
getAllPaths(_obj[key], acc, newPaths);
|
|
@@ -3495,6 +3495,7 @@
|
|
|
3495
3495
|
autoComplete,
|
|
3496
3496
|
enctype,
|
|
3497
3497
|
acceptcharset,
|
|
3498
|
+
acceptCharset,
|
|
3498
3499
|
noHtml5Validate = false,
|
|
3499
3500
|
disabled = false,
|
|
3500
3501
|
readonly = false,
|
|
@@ -3524,7 +3525,7 @@
|
|
|
3524
3525
|
action,
|
|
3525
3526
|
autoComplete,
|
|
3526
3527
|
encType: enctype,
|
|
3527
|
-
acceptCharset: acceptcharset,
|
|
3528
|
+
acceptCharset: acceptCharset || acceptcharset,
|
|
3528
3529
|
noValidate: noHtml5Validate,
|
|
3529
3530
|
onSubmit: this.onSubmit,
|
|
3530
3531
|
as,
|
package/dist/index.esm.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isObject as isObject5,
|
|
9
9
|
mergeObjects as mergeObjects2,
|
|
10
10
|
NAME_KEY,
|
|
11
|
-
|
|
11
|
+
RJSF_ADDITIONAL_PROPERTIES_FLAG,
|
|
12
12
|
shouldRender,
|
|
13
13
|
SUBMIT_BTN_OPTIONS_KEY,
|
|
14
14
|
toErrorList,
|
|
@@ -3355,7 +3355,7 @@ var Form = class extends Component5 {
|
|
|
3355
3355
|
Object.keys(_obj).forEach((key) => {
|
|
3356
3356
|
if (typeof _obj[key] === "object") {
|
|
3357
3357
|
const newPaths = paths.map((path) => [...path, key]);
|
|
3358
|
-
if (_obj[key][
|
|
3358
|
+
if (_obj[key][RJSF_ADDITIONAL_PROPERTIES_FLAG] && _obj[key][NAME_KEY] !== "") {
|
|
3359
3359
|
acc.push(_obj[key][NAME_KEY]);
|
|
3360
3360
|
} else {
|
|
3361
3361
|
getAllPaths(_obj[key], acc, newPaths);
|
|
@@ -3844,6 +3844,7 @@ var Form = class extends Component5 {
|
|
|
3844
3844
|
autoComplete,
|
|
3845
3845
|
enctype,
|
|
3846
3846
|
acceptcharset,
|
|
3847
|
+
acceptCharset,
|
|
3847
3848
|
noHtml5Validate = false,
|
|
3848
3849
|
disabled = false,
|
|
3849
3850
|
readonly = false,
|
|
@@ -3873,7 +3874,7 @@ var Form = class extends Component5 {
|
|
|
3873
3874
|
action,
|
|
3874
3875
|
autoComplete,
|
|
3875
3876
|
encType: enctype,
|
|
3876
|
-
acceptCharset: acceptcharset,
|
|
3877
|
+
acceptCharset: acceptCharset || acceptcharset,
|
|
3877
3878
|
noValidate: noHtml5Validate,
|
|
3878
3879
|
onSubmit: this.onSubmit,
|
|
3879
3880
|
as,
|