From abef39b3defed10c5dc1cba07c2ff4ff9c59b007 Mon Sep 17 00:00:00 2001 From: Gerard Date: Mon, 7 Jan 2019 09:03:30 +0100 Subject: [PATCH] #938 buscador --- front/core/components/searchbar/searchbar.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/front/core/components/searchbar/searchbar.js b/front/core/components/searchbar/searchbar.js index 135d94b81..9d5dc4209 100644 --- a/front/core/components/searchbar/searchbar.js +++ b/front/core/components/searchbar/searchbar.js @@ -75,6 +75,9 @@ export default class Controller extends Component { this.$panel.scope().$destroy(); this.$panel.remove(); this.$panel = null; + let element = this.element.querySelector('vn-textfield[label=Search] input'); + element.select(); + element.focus(); } onPanelSubmit(filter) {