I set a datepicker value from code. Inside the datepicker, the date changes visually and correctly. But it wouldnot save to collection. I checked all collection and dataset permissions.
The onBeforeSave is triggered, but no Save() is performed, no onAfterSave is raised. Also, the onItemValuesChanged is not raised when I set the datepicker.value .
In short, it looks like Wix Code doesnot register the change in datepicker thru code, thus save() is not performed. How do I solve this?
PS .save() is done from code, not with a button connected to dataset.