-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Making DropdownButtonFormField to re-render if parent widget changes #57037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
Co-authored-by: Shi-Hao Hong <[email protected]>
Co-authored-by: Shi-Hao Hong <[email protected]>
Co-authored-by: Shi-Hao Hong <[email protected]>
shihaohong
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
@pedromassango The PR seems to be failing |
Of course |
|
@shihaohong looks like there is something wrong with Flutter build task! |
|
@pedromassango That's okay. Since I applied the |
|
Thanks again for your contribution! |
Thank you for the clarification |
|
@shihaohong What would be the proper way to follow this PR landing on Beta??? |
|
@jlubeck Here is the general guideline for beta releases: https://github.com/flutter/flutter/wiki/Flutter-build-release-channels#beta, but basically, there should be a beta release roughly once a month. |
|
@shihaohong ok, so there is no notification or something that would tell me when this got merged into Beta? |
|
@jlubeck I think the flutter-announce google group is your best bet. New releases and breaking change announcements are made through that channel. |
|
Thank you @shihaohong |
|
Hey @shihaohong sorry to bug you one last time. I guess this is more of a general github usage question? I just saw that a new Flutter 1.18.0-11.1.pre release got pushed to the beta channel. My question was mainly how can I check that this PR is included in that release? |
|
@jlubeck You can see the commit list on GitHub: https://github.com/flutter/flutter/commits/beta I don't think this made it into the latest beta release. |
…lutter#57037) * Update DropdownButtonFormField's state if widget updates Co-authored-by: Shi-Hao Hong <[email protected]>
* fix segment hit test behavior (#57461) * Making DropdownButtonFormField to re-render if parent widget changes (#57037) * Update DropdownButtonFormField's state if widget updates Co-authored-by: Shi-Hao Hong <[email protected]> * throw more specific toolexit when git fails during upgrade (#57162) * [flutter_tools] Refresh VM state before executing hot reload (#53960) * Update engine hash for 1.17.2 * Remove MaterialControls from examples/flutter_view (#57621) Co-authored-by: Jenn Magder <[email protected]> * Prevent building non-android plugins in build aar (#58018) * Allow FLUTTER_APPLICATION_PATH to be null for misconfigured Xcode projects (#57701) * Don't import plugins that don't support android in settings.gradle (#54407) Co-authored-by: LongCatIsLooong <[email protected]> Co-authored-by: Pedro Massango <[email protected]> Co-authored-by: Shi-Hao Hong <[email protected]> Co-authored-by: Christopher Fujino <[email protected]> Co-authored-by: Jason Simmons <[email protected]> Co-authored-by: stuartmorgan <[email protected]> Co-authored-by: Jenn Magder <[email protected]> Co-authored-by: Emmanuel Garcia <[email protected]>
Description
I'm just making DropdownButtonFormField to show new value by overriding the
didUpdateWidget()function and replacing the current value with the new widget instance's value.Related Issues
Fixes #56898
Fixes #56716
Tests
I added the following tests:
value.Checklist
///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change