bhl-forms 0.0.42 → 0.0.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/bhl-forms.es.js +14 -1
- package/dist/bhl-forms.iife.js +2 -2
- package/dist/bhl-forms.modern.es.js +14 -1
- package/dist/bhl-forms.modern.iife.js +6 -6
- package/dist/bhl-forms.modern.umd.js +6 -6
- package/dist/bhl-forms.umd.js +2 -2
- package/dist/forms/childAndFamily.es.js +70 -44
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/generalLegal.es.js +64 -43
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/testForm.es.js +33 -22
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/main.css +1 -1
- package/package.json +2 -2
|
@@ -9021,6 +9021,19 @@ function usePrepop() {
|
|
|
9021
9021
|
value = urlParams2.get(node2.name);
|
|
9022
9022
|
}
|
|
9023
9023
|
if (value) {
|
|
9024
|
+
if (node2.props.options) {
|
|
9025
|
+
var found = false;
|
|
9026
|
+
for (var i2 = 0; i2 < node2.props.options.length; i2++) {
|
|
9027
|
+
if (node2.props.options[i2].value == value) {
|
|
9028
|
+
found = true;
|
|
9029
|
+
break;
|
|
9030
|
+
}
|
|
9031
|
+
}
|
|
9032
|
+
if (!found) {
|
|
9033
|
+
console.debug("Prepop option not found for:", node2.name, value);
|
|
9034
|
+
return;
|
|
9035
|
+
}
|
|
9036
|
+
}
|
|
9024
9037
|
console.debug("Setting prepop value for:", node2.name, value);
|
|
9025
9038
|
node2.input(value);
|
|
9026
9039
|
}
|
|
@@ -10137,7 +10150,7 @@ function useSteps() {
|
|
|
10137
10150
|
}
|
|
10138
10151
|
var elem = document.getElementById(firstInput.context.id);
|
|
10139
10152
|
elem.focus();
|
|
10140
|
-
},
|
|
10153
|
+
}, 400);
|
|
10141
10154
|
}
|
|
10142
10155
|
return true;
|
|
10143
10156
|
};
|