@aquera/nile-elements 0.0.6-4 → 0.0.6-5

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
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "0.0.6-4",
6
+ "version": "0.0.6-5",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -865,6 +865,11 @@ export class NileSelect extends NileElement implements NileFormControl {
865
865
  this.displayInput.blur();
866
866
  }
867
867
 
868
+ onInputChange(event: Event) {
869
+ // This will stop the event from bubbling up to the parent `nile-select` component
870
+ event.stopPropagation();
871
+ }
872
+
868
873
  render() {
869
874
  const hasLabelSlot = this.hasSlotController.test('label');
870
875
  const hasHelpTextSlot = this.hasSlotController.test('help-text');
@@ -1088,6 +1093,7 @@ export class NileSelect extends NileElement implements NileFormControl {
1088
1093
  @nile-input=${this.handleSearchChange}
1089
1094
  @nile-focus=${this.handleSearchFocus}
1090
1095
  @nile-blur=${this.handleSearchBlur}
1096
+ @nile-change="${this.onInputChange}"
1091
1097
  >
1092
1098
  <nile-icon name="search" slot="suffix"> </nile-icon>
1093
1099
  </nile-input>