Remove unused code
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tp/tp-input",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"description": "",
|
||||
"main": "tp-input.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -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