
Hi All
2 weeks ago I left perfectly working apps and went on holiday, now I am back and finding those apps with errors and after some digging - modern datepicker doesnt have Value property but SelectedDate instead.
Come on MS, what da hell? 😨
Hi @romankorchak2,
I ran into the same issue and was able to figure out how to make new updates work.
I set a variable on the start of my application to set the default dates for my Date Picker. Let's use the below example.
Set(varDate, Today())
Then for my actual Date Picker control, I set the "SelectedDate" property to my variable varDate.
You will also need to add in the "onChange" property a set command to change the variable once a user selects a new date. Below is the command I used.
Set(varDate, Self.SelectedDate)
Lastly, I also set the "isEditable" property to true.
If you have this Date Picker filtering a gallery, you will need to change the controls property from value to SelectedDate.
I hope this helps!