gd-bs 6.6.87 → 6.6.89

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.
@@ -98,7 +98,7 @@ var _InputGroup = /** @class */ (function (_super) {
98
98
  if (this.props.prependedDropdown) {
99
99
  // Add the dropdown
100
100
  this._ddlPrepended = (0, dropdown_1.Dropdown)(this.props.prependedDropdown);
101
- this.el.appendChild(this._ddlPrepended.el);
101
+ this.el.insertBefore(this._ddlPrepended.el, elInput);
102
102
  }
103
103
  // Default the appended buttons
104
104
  var appendedButtons = this.props.appendedButtons || [];
@@ -146,7 +146,7 @@ var _InputGroup = /** @class */ (function (_super) {
146
146
  // Set the value
147
147
  callbackValue_1 = elInput.value;
148
148
  // Call the change event
149
- _this.props.onChange(callbackValue_1, ev);
149
+ _this.props.onChange(_this.getValue(), ev);
150
150
  }
151
151
  });
152
152
  }
@@ -180,7 +180,7 @@ var _InputGroup = /** @class */ (function (_super) {
180
180
  // Set the value
181
181
  callbackValue_1 = currentValue;
182
182
  // Call the events
183
- _this.props.onChange ? _this.props.onChange(callbackValue_1, ev) : null;
183
+ _this.props.onChange ? _this.props.onChange(_this.getValue(), ev) : null;
184
184
  _this.props.onClear && callbackValue_1 == "" ? _this.props.onClear() : null;
185
185
  }
186
186
  }