Skip to content

Commit

Permalink
Add a way to prevent auto enabling a component
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex committed Jan 24, 2019
1 parent aad38c7 commit 81573fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vaadin-login.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ <h5 part="error-message-title">[[i18n.errorMessage.title]]</h5>
}

_errorChanged() {
if (this.error) {
if (this.error && !this._preventAutoEnable) {
this.disabled = false;
}
}
Expand Down

0 comments on commit 81573fa

Please sign in to comment.