43
Views
2
Comments
[Date Time Picker Range] outsystems date picker component
date-time-picker-range
Mobile icon
Forge asset by Paulo Cação
Application Type
Reactive
Service Studio Version
11.54.58 (Build 63262)
Platform Version
11.54.6 (Build 62311)

Hi everyone,

I'm encountering an issue with a date range picker and need some assistance. My requirement is to preserve the date range even after page refresh or navigating back to the same page. It seems to be functioning properly when the start and end dates are different, but when I assign the same date to both the start and end date variables, it throws an error stating: "StartDate '2024-04-30T18:30:00Z' can't be after EndDate '2024-04-30T18:30:00Z'". Please note that it works fine for different dates when I select dates in the date picker, but it gives an error on page refresh or when I navigate back to the same page and reassign the dates. I'm using the browser's local storage to preserve the states.

Any help would be greatly appreciated. Thank you!


OutSystems_141.png
UserImage.jpg
Narendra Maheshwari

Hi Navdeep Mor,

My understanding is that, it will work for you if you set the same start and end dates on the initial rendering. I made the same attempt as shown in the .oml I have attached.


Hope it is useful to you!

DateTimePickerDemo.oml
UserImage.jpg
Narendra Maheshwari

Hi @Navdeep Mor,

I believe this issue have been resolved at your end. This post still mart as unsolved.

Please help to mark this post to close it help others.


Thanks,

Narendra

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.