Skip to content

Error setting two SelectedIndex in .NET MAUI #27123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vsfeedback opened this issue Jan 14, 2025 · 2 comments
Closed

Error setting two SelectedIndex in .NET MAUI #27123

vsfeedback opened this issue Jan 14, 2025 · 2 comments
Labels
s/needs-repro Attach a solution or code which reproduces the issue

Comments

@vsfeedback
Copy link

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.

@jfversluis jfversluis added the s/needs-repro Attach a solution or code which reproduces the issue label Jan 15, 2025
Copy link
Contributor

Hi @vsfeedback. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@dotnet-policy-service dotnet-policy-service bot added the s/no-recent-activity Issue has had no recent activity label Jan 20, 2025
Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 23, 2025
@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label Feb 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
s/needs-repro Attach a solution or code which reproduces the issue
Projects
None yet
Development

No branches or pull requests

2 participants