Initially i have a date picker with place holder as "Select date".When i click on it ,it is opening date picker with current date marked with some color,now when i click "OK" button without changing date its not firing any date selected event and also not returning current date in date-picker.
Answers
@sowmya_Potluri Can you share the Code you are using just to see the implementation?
In case this seems like an issue, I would request you to open up a free support ticket using the link below so that we can share the code directly with us.
https://aka.ms/xamarinsupport
.
.
.
Looking for Free* Microsoft Support on Xamarin Issues, visit https://aka.ms/xamarinsupport
DateSelected only fires when you change the selected date, as mentioned in DatePicker API Documentation.
You can use date property to get the current date.
Date
Gets or sets the displayed date. This is a bindable property.
https://docs.microsoft.com/en-us/dotnet/api/xamarin.forms.datepicker?view=xamarin-forms#events