Hi @krfajar,
You will need to change the DefaultDate and OnChange properties of the DatePicker control. Additionally, make sure your DataCard containing the DatePicker is unlocked. (Select the DataCard, navigate to the right property panel, select 'Advanced' and unlock the datacard)
(1) Change the DefaultDate property to autofill the datepicker with today's date
Today()
(2) Change the OnChange property to not allow dates in the past
If(
Self.SelectedDate < Today(),
Reset(Self);
Notify(
"You cannot select a date in the past.",
NotificationType.Error,
5000
)
)
If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.
Thanks!