Page 1 of 1

Variables initialization

Posted: Thu Mar 26, 2026 2:15 pm
by peter.sulo
Hello,

we encountered a problem with variables initialization by an expression.
When initializing variable with an expression like "Today.AddDays(-0.75)", the label in the variable form input displays current date and time instead of date/time given by that expression. However the date and time displayed in the report sheet seems to be correct as you can see in the pictures below. This can be quite confusing for users.

Correct display as in desktop Stimulsoft Designer
Snímka obrazovky 2026-03-26 o 14.44.48.png
Snímka obrazovky 2026-03-26 o 14.44.48.png (17.4 KiB) Viewed 190 times
Wrong display when using stimulsoft dashboards js 2026.1.6
Snímka obrazovky 2026-03-26 o 14.43.13.png
Snímka obrazovky 2026-03-26 o 14.43.13.png (62.09 KiB) Viewed 190 times
Thank you

Re: Variables initialization

Posted: Thu Mar 26, 2026 5:49 pm
by Lech Kulikowski
Hello,

We have been able to reproduce the issue, but it will require more time to resolve. Rest assured that we will keep you informed of our progress and let you know the results as soon as possible.

Thank you.
#19804