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.
@@ -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") || elControl.querySelectorAll(".form-select");
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];