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.
- package/build/components/floating-ui/index.js +5 -0
- package/build/components/form/control.js +1 -1
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.js.LICENSE.txt +220 -220
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +1 -0
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.js.LICENSE.txt +219 -219
- package/dist/gd-bs.min.js +1 -1
- package/package.json +60 -60
- package/src/components/floating-ui/index.ts +3 -0
- package/src/components/floating-ui/types.d.ts +1 -0
- package/src/components/form/control.ts +1 -1
|
@@ -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
|
}
|