@digital-realty/ix-select
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -48,2 +48,3 @@ import { LitElement, PropertyValues } from 'lit'; | ||
get materialRoot(): Select; | ||
changeHandler: () => void; | ||
firstUpdated(): void; | ||
@@ -50,0 +51,0 @@ protected updated(changed: PropertyValues<Select>): void; |
@@ -38,2 +38,7 @@ import { __decorate } from "tslib"; | ||
this.customValidationMessage = ''; | ||
this.changeHandler = () => { | ||
this.materialRoot.setAttribute('value', this.materialRoot.selectedOptions[0].value); | ||
this.dispatchEvent(new Event('input', { bubbles: true, composed: true })); | ||
this.dispatchEvent(new Event('change', { bubbles: true })); | ||
}; | ||
} | ||
@@ -98,2 +103,3 @@ get hasError() { | ||
error-text=${this.getErrorText()} | ||
@change=${this.changeHandler} | ||
> | ||
@@ -118,5 +124,6 @@ <slot></slot> | ||
error-text=${this.getErrorText()} | ||
@change=${this.changeHandler} | ||
> | ||
<slot></slot> | ||
</md-outlined-select>`; | ||
</md-filled-select>`; | ||
} | ||
@@ -123,0 +130,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
"author": "interxion", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"type": "module", | ||
@@ -104,3 +104,3 @@ "main": "dist/index.js", | ||
], | ||
"gitHead": "9e2b4f6c0e99f44ac1cfceb518e69f44c18725ba" | ||
"gitHead": "8b801892bdb92ec0c653961b76f4a144cc35a4f1" | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
64623
798
0