KEMBAR78
iOS Picker Text not clearing when using SelectedIndex = -1 · Issue #31011 · dotnet/maui · GitHub
Skip to content

iOS Picker Text not clearing when using SelectedIndex = -1 #31011

@ColdstarJoey

Description

@ColdstarJoey

Description

When creating 2 pickers and selecting an item in one I trigger the SelectedIndexChanged event in there I set the other picker back to the placeholder using picker.SelectedIndex = -1; on iOS it does not clear it but on Android it does.

Steps to Reproduce

Make a button with a click event to make the pickers selectedIndex = -1; and we will see it does not clear

Link to public reproduction project repository

No response

Version with bug

9.0.90 SR9

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

.NET 8 (Please specify exact version)

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-pickerPickerpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/ioss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions