I am using the asset checkout template on powerapps. I have added an approval flow to the reserve button. This is the code for that button
SubmitForm(ReserveForm);AssetFlownew.Run(ReserveForm.LastSubmit.ReservedByEmail,ReserveForm.LastSubmit.ProductId,DateTo.SelectedDate,DateFrom.SelectedDate)
This is my date picker "Dateto" DateFrom" screenshot 1
When my flow kicks off the approval e-mail shows the default date only not date selected from form. I have searched the internet for hours and can't find a fix. I thought .selected would be the selected date on the form. The section on my flow request from powerapps the information and that's where the DateTo.SelectedDate,DateFrom.SelectedDate section comes in. But again it just shows default date on the datepicker not the actual selected date.
Any help would be appreciated.