dotnet / dotnet/maui

[Scenario Day] Picker SelectedIndex property not working

Open
#7,138 12 comments 1 reaction 0 assignees View on GitHub
area-controls-picker partner/syncfusion platform/android platform/windows s/triaged s/verified scenario-day t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

Picker SelectedIndex property not working.

```


Baboon
Capuchin Monkey
Blue Monkey
Squirrel Monkey
Golden Lion Tamarin
Howler Monkey
Japanese Macaque


```

![image](https://user-images.githubusercontent.com/6755973/168256927-1a60179c-8fd3-4bfa-97c7-8a4952b9ee07.png)

### Steps to Reproduce

1. Create a new .NET MAUI from template.
2. Paste the previous piece of code.
3. Launch the App.

### Version with bug

Release Candidate 3 (current)

### Last version that worked well

Unknown/Other

### Affected platforms

Android, Windows

### Affected platform versions

Windows SDK 10.0.17134.0, Android 11

### Did you find any workaround?

_No response_

### Relevant log output

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the provided Picker XAML and reproduce the issue in a new .NET MAUI app on Android and Windows. Check how SelectedIndex="3" is applied when the Picker.Items collection is populated. Done means the fourth item, Squirrel Monkey, is selected on launch on both affected platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop-dev, frontend, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.