From ba19c9069a178b3b158216d140972197b9c2ff51 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Fri, 13 Mar 2020 10:52:56 +0100 Subject: [PATCH] Removed event --- front/core/components/datalist/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/front/core/components/datalist/index.js b/front/core/components/datalist/index.js index d74de4643..3ac787d46 100644 --- a/front/core/components/datalist/index.js +++ b/front/core/components/datalist/index.js @@ -13,10 +13,7 @@ export default class Datalist extends Textfield { this._selection = null; this.buildInput('text'); - this.input.setAttribute('autocomplete', 'off'); - this.input.addEventListener('blur', () => { - console.log('focus out'); - }); + this.autocomplete = 'off'; } get field() {