From b77d47fdee7bce793ea5e8a22fea39692d9b44a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 8 Jun 2022 09:17:38 +0200 Subject: [PATCH] Set focus on Date text input instead of button issue11539 review411231003 --- src/view/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/form.js b/src/view/form.js index 6eaa0605b9..6c0089954d 100644 --- a/src/view/form.js +++ b/src/view/form.js @@ -1751,7 +1751,7 @@ function eval_pyson(value){ this.date.val(this._format(this.get_format(), value)); }, focus: function() { - this.input.focus(); + this.date.focus(); }, get modified() { if (this.record && this.field) {