Error setting two SelectedIndex in .NET MAUI #27123
Labels
s/needs-repro
Attach a solution or code which reproduces the issue
s/no-recent-activity
Issue has had no recent activity
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work] [regression] [worked-in:?]
In my maui app I have two picklists (pick year and pick month). In the Main Constructor I want to set the SelectedItem to the current year and month related to ItemSource ( a List<string> for each ).
The first pickyear.SelectedItem = 1 works fine. But when I want to set the next pickmonth.SelectedItem = 5 the app crashes with the
following error. {"String '01-00-0' was not recognized as a valid DateTime."}
I have tried to switch the two, but with the same result. No. 2 fails.
Original Comments
Feedback Bot on 12/30/2024, 06:42 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
The text was updated successfully, but these errors were encountered: