Merge branch 'test' into dev
This commit is contained in:
commit
d4c399692a
|
@ -15,7 +15,7 @@ export default class Textfield extends Input {
|
|||
this.hasMouseIn = false;
|
||||
|
||||
this.input.addEventListener('keydown', () => {
|
||||
if (!this.oldValue)
|
||||
if (this.oldValue === undefined)
|
||||
this.saveOldValue();
|
||||
});
|
||||
this.input.addEventListener('keyup', e => {
|
||||
|
|
Loading…
Reference in New Issue