gd-bs 6.1.8 → 6.2.0
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/build/components/form/control.js +2 -1
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.js.LICENSE.txt +210 -210
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.js.LICENSE.txt +210 -210
- package/dist/gd-bs.min.js +1 -1
- package/package.json +3 -3
- package/pnpm-lock.yaml +5 -5
- package/src/components/form/control.ts +2 -1
|
@@ -648,7 +648,8 @@ var FormControl = /** @class */ (function () {
|
|
|
648
648
|
// Updates the control validation
|
|
649
649
|
FormControl.prototype.updateValidation = function (elControl, validation) {
|
|
650
650
|
// Get the form controls
|
|
651
|
-
var elFormControls = elControl.querySelectorAll(".form-control")
|
|
651
|
+
var elFormControls = elControl.querySelectorAll(".form-control");
|
|
652
|
+
elFormControls = elFormControls.length == 0 ? elControl.querySelectorAll(".form-select") : elFormControls;
|
|
652
653
|
for (var i = 0; i < elFormControls.length; i++) {
|
|
653
654
|
// Ensure the control exists
|
|
654
655
|
var elFormControl = elFormControls[i];
|