@marktiderman/genesis-forms 0.3.0 → 0.3.1
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/destinations.cjs +51 -27
- package/dist/destinations.cjs.map +1 -1
- package/dist/destinations.js +51 -27
- package/dist/destinations.js.map +1 -1
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/server.cjs +3 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +3 -1
- package/dist/server.js.map +1 -1
- package/dist/testing.cjs +3 -1
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.js +3 -1
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
package/dist/testing.cjs
CHANGED
|
@@ -1144,7 +1144,9 @@ function parseForm(input) {
|
|
|
1144
1144
|
if (maxLength2 !== void 0 && !(isInt(maxLength2) && maxLength2 > 0)) {
|
|
1145
1145
|
issue(`${path}.props.maxLength`, "Must be a whole number above 0.");
|
|
1146
1146
|
}
|
|
1147
|
-
|
|
1147
|
+
}
|
|
1148
|
+
if (typeof block.type === "string" && (block.props === void 0 || isObject2(block.props))) {
|
|
1149
|
+
structuredProps(block.type, block.props ?? {}, `${path}.props`);
|
|
1148
1150
|
}
|
|
1149
1151
|
if (validKey) {
|
|
1150
1152
|
if (keys.has(block.key)) issue(`${path}.key`, `Duplicate key "${String(block.key)}".`);
|