maui
maui copied to clipboard
Picker Attribute "SelectedIndex" Not being respected on page load - fix
trafficstars
Fixes https://github.com/dotnet/maui/issues/9150
For the following code:
<Picker FontSize="15"
AutomationId="picker"
SelectedIndex="1"
x:Name="picker">
<Picker.ItemsSource>
<x:Array Type="{x:Type x:String}">
<x:String>0</x:String>
<x:String>1</x:String>
<x:String>2</x:String>
</x:Array>
</Picker.ItemsSource>
</Picker>
| Before | After |
|---|---|
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
@kubaflo Could you rebase to fix the conflicts? Thanks in advance.
@jsuarezruiz I've rebased and solved conflicts :)
/azp run
Azure Pipelines successfully started running 3 pipeline(s).