diff --git a/front/core/components/textfield/textfield.js b/front/core/components/textfield/textfield.js index 88a585eda..8d2964b9b 100644 --- a/front/core/components/textfield/textfield.js +++ b/front/core/components/textfield/textfield.js @@ -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 => {