diff --git a/front/core/components/textfield/textfield.js b/front/core/components/textfield/textfield.js index 8d2964b9b..f9b51f29f 100644 --- a/front/core/components/textfield/textfield.js +++ b/front/core/components/textfield/textfield.js @@ -14,10 +14,6 @@ export default class Textfield extends Input { this.hasFocus = false; this.hasMouseIn = false; - this.input.addEventListener('keydown', () => { - if (this.oldValue === undefined) - this.saveOldValue(); - }); this.input.addEventListener('keyup', e => { if (e.defaultPrevented || e.key != 'Escape') return;