gd-bs 6.8.4 → 6.8.6

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.
@@ -93,6 +93,11 @@ var _FloatingUI = /** @class */ (function () {
93
93
  }
94
94
  // Create the event
95
95
  document.addEventListener("click", function (ev) {
96
+ var _a;
97
+ // Do nothing if we do not want to hide on click
98
+ if ((_a = _this._props.options) === null || _a === void 0 ? void 0 : _a.hideOnClick) {
99
+ return;
100
+ }
96
101
  // Do nothing if we toggled this component
97
102
  if (_this._elTarget.contains(ev.target)) {
98
103
  return;
@@ -708,7 +708,7 @@ var FormControl = /** @class */ (function () {
708
708
  validation.isValid = value;
709
709
  }
710
710
  // Else, see if this is a dropdown and ensure it has a value
711
- else if (this._ddl && value) {
711
+ else if (this._ddl && !this._ddl.isMulti && value) {
712
712
  // Set the flag to ensure a text/value exists
713
713
  validation.isValid = value.text || value.value ? true : false;
714
714
  }