@redrockswebdevelopment/formstack-form-testing 0.1.42 → 0.1.43
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/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3807,11 +3807,6 @@ export async function discoverLiveFormFieldShapes(page, options = {}) {
|
|
|
3807
3807
|
}
|
|
3808
3808
|
return "description";
|
|
3809
3809
|
}
|
|
3810
|
-
if (internalLabel.includes("hidden") ||
|
|
3811
|
-
classes.includes("hidden-field") ||
|
|
3812
|
-
controls.every((control) => control.type === "hidden")) {
|
|
3813
|
-
return "hidden";
|
|
3814
|
-
}
|
|
3815
3810
|
if (classes.includes("matrix") || internalLabel.includes("matrix") || element.querySelector("[id^='matrix-row-'], table"))
|
|
3816
3811
|
return "matrix";
|
|
3817
3812
|
if (classes.includes("rating") || internalLabel.includes("rating"))
|
|
@@ -3844,6 +3839,11 @@ export async function discoverLiveFormFieldShapes(page, options = {}) {
|
|
|
3844
3839
|
return "datetime";
|
|
3845
3840
|
if (types.has("date") || internalLabel.includes("date"))
|
|
3846
3841
|
return "date";
|
|
3842
|
+
if (internalLabel.includes("hidden") ||
|
|
3843
|
+
classes.includes("hidden-field") ||
|
|
3844
|
+
controls.every((control) => control.type === "hidden")) {
|
|
3845
|
+
return "hidden";
|
|
3846
|
+
}
|
|
3847
3847
|
if (types.has("text"))
|
|
3848
3848
|
return "text";
|
|
3849
3849
|
return "unknown";
|