Remove unused code
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user