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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "6.6.87",
3
+ "version": "6.6.89",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -88,7 +88,7 @@ class _InputGroup extends Base<IInputGroupProps> implements IInputGroup {
88
88
  if (this.props.prependedDropdown) {
89
89
  // Add the dropdown
90
90
  this._ddlPrepended = Dropdown(this.props.prependedDropdown);
91
- this.el.appendChild(this._ddlPrepended.el);
91
+ this.el.insertBefore(this._ddlPrepended.el, elInput);
92
92
  }
93
93
 
94
94
  // Default the appended buttons
@@ -141,7 +141,7 @@ class _InputGroup extends Base<IInputGroupProps> implements IInputGroup {
141
141
  callbackValue = elInput.value;
142
142
 
143
143
  // Call the change event
144
- this.props.onChange(callbackValue, ev);
144
+ this.props.onChange(this.getValue(), ev);
145
145
  }
146
146
  });
147
147
  }
@@ -180,7 +180,7 @@ class _InputGroup extends Base<IInputGroupProps> implements IInputGroup {
180
180
  callbackValue = currentValue;
181
181
 
182
182
  // Call the events
183
- this.props.onChange ? this.props.onChange(callbackValue, ev) : null;
183
+ this.props.onChange ? this.props.onChange(this.getValue(), ev) : null;
184
184
  this.props.onClear && callbackValue == "" ? this.props.onClear() : null;
185
185
  }
186
186
  }