Skip to content

No multiline password fields#42470

Merged
justinmc merged 5 commits intoflutter:masterfrom
justinmc:no-multiline-password
Oct 28, 2019
Merged

No multiline password fields#42470
justinmc merged 5 commits intoflutter:masterfrom
justinmc:no-multiline-password

Conversation

@justinmc
Copy link
Contributor

Description

There is no reason to have a multiline password field, and ours appears broken now, so this PR prevents it from being created and informs the developer.

Related Issues

Closes #41853

Tests

Tested that an assertion is thrown for multiline and obscureText.

@justinmc justinmc requested a review from HansMuller October 10, 2019 21:23
@justinmc justinmc self-assigned this Oct 10, 2019
@fluttergithubbot fluttergithubbot added f: cupertino flutter/packages/flutter/cupertino repository f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels Oct 10, 2019
@mdebbar
Copy link
Contributor

mdebbar commented Oct 10, 2019

Thanks for doing this!

FYI: the breaking change announcement has already been sent to flutter-announce.

@mdebbar mdebbar added the c: API break Backwards-incompatible API changes label Oct 10, 2019
@justinmc
Copy link
Contributor Author

Oh I see it, thanks for sending that out! Should save some time.

Copy link
Contributor

@HansMuller HansMuller left a comment

Choose a reason for hiding this comment

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

LGTM

@justinmc justinmc merged commit 109f255 into flutter:master Oct 28, 2019
@justinmc justinmc deleted the no-multiline-password branch October 28, 2019 17:59
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Nov 26, 2019
Use assertions to prevent multiline password fields from being created
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

c: API break Backwards-incompatible API changes f: cupertino flutter/packages/flutter/cupertino repository f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Password text fields shouldn't be multi-line

5 participants