@rjsf/core 5.13.4 → 5.13.6
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 +5 -1
- package/dist/index.esm.js +5 -1
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +5 -1
- package/dist/index.js.map +2 -2
- package/lib/components/fields/BooleanField.js +2 -2
- package/lib/components/fields/BooleanField.js.map +1 -1
- package/lib/components/fields/StringField.js +2 -2
- package/lib/components/fields/StringField.js.map +1 -1
- package/package.json +5 -5
- package/src/components/fields/BooleanField.tsx +2 -0
- package/src/components/fields/StringField.tsx +2 -0
package/dist/index.js
CHANGED
|
@@ -830,6 +830,7 @@ function BooleanField(props) {
|
|
|
830
830
|
required,
|
|
831
831
|
disabled,
|
|
832
832
|
readonly,
|
|
833
|
+
hideError,
|
|
833
834
|
autofocus,
|
|
834
835
|
onChange,
|
|
835
836
|
onFocus,
|
|
@@ -902,6 +903,7 @@ function BooleanField(props) {
|
|
|
902
903
|
required,
|
|
903
904
|
disabled,
|
|
904
905
|
readonly,
|
|
906
|
+
hideError,
|
|
905
907
|
registry,
|
|
906
908
|
formContext,
|
|
907
909
|
autofocus,
|
|
@@ -1666,7 +1668,8 @@ function StringField(props) {
|
|
|
1666
1668
|
onBlur,
|
|
1667
1669
|
onFocus,
|
|
1668
1670
|
registry,
|
|
1669
|
-
rawErrors
|
|
1671
|
+
rawErrors,
|
|
1672
|
+
hideError
|
|
1670
1673
|
} = props;
|
|
1671
1674
|
const { title, format } = schema;
|
|
1672
1675
|
const { widgets: widgets2, formContext, schemaUtils, globalUiOptions } = registry;
|
|
@@ -1689,6 +1692,7 @@ function StringField(props) {
|
|
|
1689
1692
|
name,
|
|
1690
1693
|
label,
|
|
1691
1694
|
hideLabel: !displayLabel,
|
|
1695
|
+
hideError,
|
|
1692
1696
|
value: formData,
|
|
1693
1697
|
onChange,
|
|
1694
1698
|
onBlur,
|