Sitelet https://github.com/flutter/flutter/issues/110732
Skip to content

CupertinoPicker example does not select initial value when dismissed #110732

Description

@stevethehu

Steps to reproduce:

  1. go to https://api.flutter.dev/flutter/cupertino/CupertinoPicker-class.html
  2. open the picker in the dartpad and select a value other than Apple, e.g. Orange
  3. dismiss the picker and observe that the button has updated to the selected value
  4. open the picker again and observe that the initially selected value is Apple
  5. dismiss the picker and observe that the button does not update to Apple

Expected behavior:
the button should be updated to the selected value when the picker is dismissed

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listd: examplesSample code and demosfound in release: 3.1Found to occur in 3.1found in release: 3.3Found to occur in 3.3frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: cupertino_uicupertino_ui package in flutter/packagesr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

  • Status
    Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions