From 9a749dc86428eb4bc15eefa6de6e6bd493fe1ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Val=C3=A9ry?= Date: Fri, 13 Aug 2021 18:15:22 +0200 Subject: [PATCH] Call change() when a Date field is updated via visual calendar issue10647 review362341002 (grafted from 474abeca9f9b4c8199ac333b3e8a178ac1c88adb) --HG-- branch : 6.0 --- src/view/form.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view/form.js b/src/view/form.js index c03b58202e..eb6231be8e 100644 --- a/src/view/form.js +++ b/src/view/form.js @@ -1623,7 +1623,7 @@ function eval_pyson(value){ if (value) { value = this._parse(this._input_format, value); value = this._format(this.get_format(), value); - this.date.val(value); + this.date.val(value).change(); this.date.focus(); } }.bind(this)); @@ -4995,7 +4995,7 @@ function eval_pyson(value){ if (value) { value = this._parse(this._input_format, value); value = this._format(this.format, value); - this.input.val(value); + this.input.val(value).change(); this.input.focus(); } }.bind(this));