gd-bs 6.6.84 → 6.6.85

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.
@@ -199,7 +199,10 @@ var _ListBox = /** @class */ (function (_super) {
199
199
  * Public Interface
200
200
  */
201
201
  // Gets the selected items
202
- _ListBox.prototype.getValue = function () { return this._selectedItems; };
202
+ _ListBox.prototype.getValue = function () {
203
+ // Return the value
204
+ return this.props.multi ? this._selectedItems : this._selectedItems[0];
205
+ };
203
206
  // Sets the options
204
207
  _ListBox.prototype.setOptions = function (items) {
205
208
  if (items === void 0) { items = []; }