Skip to content

Let CupertinoTextField's clear button also call onChanged#29474

Merged
xster merged 7 commits intoflutter:masterfrom
hyjfine:fix_onchanged
Mar 26, 2019
Merged

Let CupertinoTextField's clear button also call onChanged#29474
xster merged 7 commits intoflutter:masterfrom
hyjfine:fix_onchanged

Conversation

@hyjfine
Copy link
Contributor

@hyjfine hyjfine commented Mar 16, 2019

Description

CupertinoTextField does not call onChanged when its clear button is tapped.

Related Issues

#29345.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes tests for all changed/updated/fixed behaviors (See Test Coverage).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require Flutter developers to manually update their apps to accommodate your change?

@goderbauer goderbauer added framework flutter/packages/flutter repository. See also f: labels. f: cupertino flutter/packages/flutter/cupertino repository labels Mar 18, 2019
@xster xster changed the title fix #29345 Let CupertinoTextField's clear button also call onChanged Mar 20, 2019
Copy link
Member

@xster xster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution. The approach is fine. Please add some tests in cupertino/text_field_test.dart.

@hyjfine
Copy link
Contributor Author

hyjfine commented Mar 22, 2019

All test and checks have passed, thanks for you patient. @xster

@hyjfine
Copy link
Contributor Author

hyjfine commented Mar 23, 2019

Benefiting so much of you conversation! @xster

@xster
Copy link
Member

xster commented Mar 25, 2019

LGTM, thanks

@xster xster merged commit 6e50ccc into flutter:master Mar 26, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

f: cupertino flutter/packages/flutter/cupertino repository framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants