Skip to content

Commit de26ed2

Browse files
julczkaiOvergaard
authored andcommitted
feat: change _onInput method from private to protected (#196)
1 parent 9d4c3a5 commit de26ed2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/uui-input/lib/uui-input.element.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,11 @@ export class UUIInputElement extends FormControlMixin(LitElement) {
264264
return this._input;
265265
}
266266

267-
private _onInput(e: Event) {
267+
protected _onInput(e: Event) {
268268
this.value = (e.target as HTMLInputElement).value;
269269

270270
// TODO: Do we miss an input event?
271+
// No, this event is already composed and bubbles, so th enative one just goes out and works. Change is not though. (see more https://html.spec.whatwg.org/multipage/input.html#common-input-element-events)
271272
}
272273

273274
private _onChange() {

0 commit comments

Comments
 (0)