@luftborn/custom-elements 2.6.1 → 2.6.2

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/demo/index.min.js CHANGED
@@ -3363,7 +3363,7 @@ var DropDownListElement = /** @class */ (function (_super) {
3363
3363
  Object.defineProperty(DropDownListElement.prototype, "valid", {
3364
3364
  get: function () {
3365
3365
  var placeholderOption = this.select.querySelector('#placeholder-option');
3366
- return this.select.validity.valid && !(placeholderOption === null || placeholderOption === void 0 ? void 0 : placeholderOption.selected);
3366
+ return this.required ? this.select.validity.valid && !(placeholderOption === null || placeholderOption === void 0 ? void 0 : placeholderOption.selected) : this.select.validity.valid;
3367
3367
  },
3368
3368
  enumerable: false,
3369
3369
  configurable: true