I'm trying to use the DatePicker from OutSystems, but it's not working properly.I'm setting the OptionalConfig InitialDate with a value, but the DatePicker ignores the information and the input appears as blank.I also use it on a list, and if I remove an item from the list all the DatePickers from the items above change the value to 20/02/2020.
After removing the first one:
Does anyone know a workaround?
@Sonali Verma thanks for the help, but this topic is for traditional web, I'm using reactive. The problem was solved, it was an old version of the OutSystems UI. The new version solved this bug.
Hi Thiago,
Since the cell is bound to a variable, it takes the value of that variable. So if you need it to be a certain date, you need to change the bound variable, using the InitialDate won't work.
As for the dates reverting to 20/02/2022, that seems a programming error. You should debug the line removal code and see what it does to the list underlying the data.
Yes, I tried to change the variable value before, but didn't work either.
Well, I'm assuming a programming error somewhere in your code, as this is a fairly common scenario, that should work.
No, the code is fine. I think that we have an older version on ther server, because in my personal enviroment it works...Tks for the help
Good thing it works on your PE, at least that should narrow down where the problem lies.
Hi,
@Thiago Andrade
You can follow this " https://www.outsystems.com/forums/discussion/66598/date-picker-problem/ ".
Thanks,
Sonali Verma