From 9f20a8930609bf1815789ff1751e47544e174f35 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 11 Apr 2023 17:09:36 -0600 Subject: [PATCH] Et2DateDurationReadonly: Fix value change did not update, so displayed value was unchanged --- api/js/etemplate/Et2Date/Et2DateDurationReadonly.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/js/etemplate/Et2Date/Et2DateDurationReadonly.ts b/api/js/etemplate/Et2Date/Et2DateDurationReadonly.ts index 2a18ad71de..32a1832a6d 100644 --- a/api/js/etemplate/Et2Date/Et2DateDurationReadonly.ts +++ b/api/js/etemplate/Et2Date/Et2DateDurationReadonly.ts @@ -47,7 +47,9 @@ export class Et2DateDurationReadonly extends Et2DateDuration set value(_value) { + const old_value = this.__value; this.__value = _value; + this.requestUpdate("value", old_value); } render()