Remove unused code

This commit is contained in:
2022-03-13 22:32:40 +01:00
parent f9af97a6b8
commit 957ce8c03d
2 changed files with 2 additions and 1 deletions

View File

@@ -196,6 +196,7 @@ class TpInput extends BaseElement {
this.listen(this.inputEl, 'keypress', '_onKeypress');
if (this.value !== '' && this.value !== undefined && this.inputEl.value === '') {
this.inputEl.value = this.value;
this._onInput(); // Force validation
}