Skip to content

Commit

Permalink
Do not set userInput if there is no change
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-fix committed Jun 11, 2020
1 parent ee9abf1 commit 857408d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vaadin-text-field-mixin.html
Expand Up @@ -424,7 +424,8 @@
}
}

if (!e.__fromClearButton) {
// Value can remain the same on input when pasting
if (!e.__fromClearButton && this.value !== e.target.value) {
this.__userInput = true;
}
this.value = e.target.value;
Expand Down

0 comments on commit 857408d

Please sign in to comment.