on 08-17-2023 12:42 PM
Dear Experts,
For an SAC Project we're using the datepicker custom widget developed by Nikolaj Kappler:
It allows for users to select a date in a calendar based interface -> amazing tool.
Unfortunately it is not working reliably, I'm running 3 codes and it freezing it!
Code1:
var date = new Date(ConvertUtils.stringToInteger("1901"),ConvertUtils.stringToInteger("00"),ConvertUtils.stringToInteger("01"));
datePickerPlanDateTest.setDateVal(date);
Datepicker selects the desired date.
Code2:
var date = new Date(ConvertUtils.stringToInteger("1999"),ConvertUtils.stringToInteger("00"),ConvertUtils.stringToInteger("01"));
datePickerPlanDateTest.setDateVal(date);
Datepicker change it's value to the second that -> as expected.
Than I'm clearing the value -> setting Datepicker back to it's default state
Code3:
datePickerPlanDateTest.clear();
Than I'm trying to reset the second date (Code2); rerun the same script and Datepicker stucks in it's default state.
Is anyone else already faced with this value update issue before?
many thanks for your help in advance!
Attila
Hello Attila,
have you ever solved this problem? I have the same phenomenon - after clearing a datepicker, I cannot set it again (for some time, at least). It ist hard to determine which state it is in during the story run. I have also receognized that datepicker has problem setting dates which are outside "normal time", meaning in daylight savings time.
kindest regards, Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
65 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.