Page 1 of 1

Problem with Initial Selection in StiDatePickerElement

Posted: Fri Apr 26, 2024 8:09 am
by si01
Hello,

i could not find anything related to my problem but if there is already a post about it, please let me know.

if i create a dashboard and add a date picker element to the dashboard, set the selection mode to "Range" and set the initial selection to anything related to week like "Next Week", the week always starts with Sunday even though my viewer and the culture in the mrt file is set to "de-DE" where the week starts with monday. Now if i start the report and click in the date picker and select next Week, Monday till Sunday will be selected which is correct.

You can easily reproduce this in your own examples on Github. https://github.com/stimulsoft/Samples-D ... -for-React

For your convenience i added the adjusted "DashboardChristmas.mrt" file.

Many thanks in advance!

Re: Problem with Initial Selection in StiDatePickerElement

Posted: Mon Apr 29, 2024 7:31 am
by Lech Kulikowski
Hello,

We couldn't reproduce the issue.
Please provide more detailed information. What version, browser, browser and system localizations?

Thank you.

Re: Problem with Initial Selection in StiDatePickerElement

Posted: Tue Apr 30, 2024 12:06 pm
by si01
Hello,

- stimulsoft-dashboards-js: latest
- browser version: Edge 124.0.2478.67
- system localization: german
- browser localization: german

Maybe these screenshots hekp in understanding what i mean:
DatePicker_Begin.png
DatePicker_Begin.png (14.49 KiB) Viewed 818 times
DatePicker_in_MRT.png
DatePicker_in_MRT.png (13.46 KiB) Viewed 818 times
DatePicker_click_on_current_week.png
DatePicker_click_on_current_week.png (15.72 KiB) Viewed 818 times
DatePicker_date_after_click_on_current_week.png
DatePicker_date_after_click_on_current_week.png (14.22 KiB) Viewed 818 times
Thanks again :)

Re: Problem with Initial Selection in StiDatePickerElement

Posted: Tue Apr 30, 2024 12:43 pm
by Lech Kulikowski
Hello,

In your report is set the Culture as "en-US". Try to remove or change it.

Thank you.

Re: Problem with Initial Selection in StiDatePickerElement

Posted: Thu May 02, 2024 9:13 am
by si01
Hello,

yeah i noticed this as well. I changed it to de-DE and it still does not work.

Re: Problem with Initial Selection in StiDatePickerElement

Posted: Thu May 02, 2024 7:41 pm
by Lech Kulikowski
Hello,

We need some time to investigate the issue. We will let you know about the result.

Thank you.
#14385