gd-bs 6.6.77 → 6.6.78
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.
|
@@ -594,12 +594,12 @@ var FormControl = /** @class */ (function () {
|
|
|
594
594
|
}
|
|
595
595
|
// See if this is a checkbox
|
|
596
596
|
if (this._cb) {
|
|
597
|
-
// See if
|
|
598
|
-
if (this._props.
|
|
599
|
-
// Return the
|
|
597
|
+
// See if this is a multi-checkbox
|
|
598
|
+
if (this._props.type == _1.FormControlTypes.MultiCheckbox || this._props.type == _1.FormControlTypes.MultiRadio || this._props.type == _1.FormControlTypes.MultiSwitch) {
|
|
599
|
+
// Return the selected items
|
|
600
600
|
return this._cb.getValue().selectedItems;
|
|
601
601
|
}
|
|
602
|
-
// Return
|
|
602
|
+
// Return a boolean
|
|
603
603
|
return this._cb.getValue().selectedItems ? true : false;
|
|
604
604
|
}
|
|
605
605
|
// See if this is a dropdown
|