@rjsf/core 5.7.0 → 5.7.2
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.cjs.development.js +1 -1
- package/dist/core.cjs.development.js.map +1 -1
- package/dist/core.cjs.production.min.js +1 -1
- package/dist/core.cjs.production.min.js.map +1 -1
- package/dist/core.esm.js +1 -1
- package/dist/core.esm.js.map +1 -1
- package/dist/core.umd.development.js +1 -1
- package/dist/core.umd.development.js.map +1 -1
- package/dist/core.umd.production.min.js +1 -1
- package/dist/core.umd.production.min.js.map +1 -1
- package/package.json +6 -6
|
@@ -4110,7 +4110,7 @@ var Form = /*#__PURE__*/function (_Component) {
|
|
|
4110
4110
|
// if not an exact match, try finding an input starting with the element id (like radio buttons or checkboxes)
|
|
4111
4111
|
field = this.formElement.current.querySelector("input[id^=" + elementId);
|
|
4112
4112
|
}
|
|
4113
|
-
if (field.length) {
|
|
4113
|
+
if (field && field.length) {
|
|
4114
4114
|
// If we got a list with length > 0
|
|
4115
4115
|
field = field[0];
|
|
4116
4116
|
}
|