Skip to content

Conversation

@pedromassango
Copy link
Member

@pedromassango pedromassango commented Sep 21, 2020

Description

This PR is add back the autovalidate class property. Please see https://github.com/flutter/flutter/pull/61648/files#r490653719

Related Issues

Replace this paragraph with a list of issues related to this PR from our [issue database]. Indicate, which of these issues are resolved or fixed by this PR. There should be at least one issue listed here.

Tests

I added the following tests:

  • Verify that the constructor parameter is properly connected to the class property

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.
  • I signed the [CLA].
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Did any tests fail when you ran them? Please read [Handling breaking changes].

  • No, no existing tests failed, so this is not a breaking change.

@flutter-dashboard flutter-dashboard bot added the framework flutter/packages/flutter repository. See also f: labels. label Sep 21, 2020
@flutter-dashboard
Copy link

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.

Copy link

@skyeskie skyeskie left a comment

Choose a reason for hiding this comment

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

Additionally, add back autovalidate to FormField

@pedromassango
Copy link
Member Author

Hi @Piinks @chunhtai
This is ready for review!

Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

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

Just some nitpicks and ideas for more tests. Thanks!

@pedromassango
Copy link
Member Author

@justinmc this is ready for review!

Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Thanks for following up on this!

@justinmc justinmc merged commit 10f6284 into flutter:master Sep 28, 2020
@kuhnroyal
Copy link

Can this be picked in to current beta?

@justinmc
Copy link
Contributor

@kuhnroyal This has now been tagged for cherry pick into 1.22. Thanks for the suggestion.

@pcsosinski
Copy link

removing cp label in favor of #66940

christopherfujino pushed a commit to chris-forks/flutter that referenced this pull request Oct 7, 2020
* Add back autovalidate property

* Add autovalidate property back (include tests)

* Fix typos

* One more test :)
christopherfujino added a commit that referenced this pull request Oct 8, 2020
* [Docs] [Material] Fix Icons api docs (#66508)

* [Docs] [Icons] Updating dart doc styles to recognize more styles of icons. All the 4 icon styles we support have to be pulled from 4 individual web fonts when we show the html page for api docs.

* Better documentation and that special awful case.

* Couple more places to remove.

* Add back the autovalidate class property (#66267)

* Add back autovalidate property

* Add autovalidate property back (include tests)

* Fix typos

* One more test :)

* [flutter_tools] prevent running analyze-size with split-debug-info (#66983)

Running a build command with split debug info and analyze size causes a crash in the snapshot analysis library. Disable the combination of these two flags.

Fixes #66962

* fix invocatiion of non-existent function after cherry pick

* update engine revision

Co-authored-by: Will Larche <[email protected]>
Co-authored-by: Pedro Massango <[email protected]>
Co-authored-by: Jonah Williams <[email protected]>
willlockwood pushed a commit to willlockwood/flutter that referenced this pull request Dec 25, 2020
* [Docs] [Material] Fix Icons api docs (flutter#66508)

* [Docs] [Icons] Updating dart doc styles to recognize more styles of icons. All the 4 icon styles we support have to be pulled from 4 individual web fonts when we show the html page for api docs.

* Better documentation and that special awful case.

* Couple more places to remove.

* Add back the autovalidate class property (flutter#66267)

* Add back autovalidate property

* Add autovalidate property back (include tests)

* Fix typos

* One more test :)

* [flutter_tools] prevent running analyze-size with split-debug-info (flutter#66983)

Running a build command with split debug info and analyze size causes a crash in the snapshot analysis library. Disable the combination of these two flags.

Fixes flutter#66962

* fix invocatiion of non-existent function after cherry pick

* update engine revision

Co-authored-by: Will Larche <[email protected]>
Co-authored-by: Pedro Massango <[email protected]>
Co-authored-by: Jonah Williams <[email protected]>
@pedromassango pedromassango deleted the revert-autovalidate branch January 22, 2022 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: text input Entering text in a text field or keyboard related problems framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants