-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed as not planned
Labels
area-controls-datetimepickerDatePicker, TimePickerDatePicker, TimePickerplatform/androidplatform/iosplatform/windowst/enhancement ☀️New feature or requestNew feature or request
Milestone
Description
Description
The DatePicker has a default date of todays date, if someone selects that same date the dialog closes but the DateSelected doesn't fire
If you didn't pass in an initial date this effectively prevents a user from selecting today's date, if you do have a date bound it prevents selecting that date which means any extra code in the DateSelected event doesn't fire
This is related to #9180 though that was Android specific and for .Net 6
Steps to Reproduce
- Create File > New .Net Maui App
- Add a DatePicker to MainPage.xaml
- Add a DateSelected event handler
- Add a debug statement to the handler to see when the event is fired
- Run the app and select todays date, no event is fired
Link to public reproduction project repository
https://github.com/duindain/DateChanger
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows, I was not able test on other platforms
Affected platform versions
Android 11 and up, WindowsSDK 10.0.19041, iOS 16.1
Did you find any workaround?
No response
Relevant log output
No response
Vroomer, UlriCode, StepKie and afk013
Metadata
Metadata
Assignees
Labels
area-controls-datetimepickerDatePicker, TimePickerDatePicker, TimePickerplatform/androidplatform/iosplatform/windowst/enhancement ☀️New feature or requestNew feature or request