Merge branch 'test' into dev

This commit is contained in:
Gerard 2019-03-27 12:50:30 +01:00
commit d4c399692a
1 changed files with 1 additions and 1 deletions

View File

@ -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 => {