Skip to content
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

[UWP] Input.Text password style support #6479

Merged
merged 11 commits into from
Oct 8, 2021
Merged

[UWP] Input.Text password style support #6479

merged 11 commits into from
Oct 8, 2021

Conversation

RebeccaAnne
Copy link
Contributor

@RebeccaAnne RebeccaAnne commented Oct 4, 2021

Related Issue

Fixes #6334

Description

Adds handling of Input.Text password style using Xaml's PasswordBox. Some refactoring to account for the fact that in Xaml a PasswordBox is not the same type as a normal TextBox. Specifically, a new InputValue type is added to support getting values out of a PasswordBox while sharing the validation logic with other styles of Input.Text.

Sample Card

\samples\v.15\Elements\Input.Text.PasswordStyle.json

How Verified

UWP unit tests including new tests to validate password scenarios.

Microsoft Reviewers: Open in CodeFlow

@almedina-ms
Copy link
Contributor

/azp run uwp-ci.yml

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@almedina-ms almedina-ms left a comment

Choose a reason for hiding this comment

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

:shipit:

@RebeccaAnne RebeccaAnne enabled auto-merge (squash) October 7, 2021 22:00
@almedina-ms
Copy link
Contributor

Test issue tracked in #6553

@jonmill jonmill disabled auto-merge October 8, 2021 18:49
@jonmill jonmill merged commit 02e515e into main Oct 8, 2021
@jonmill jonmill deleted the rebecch/passworduwp branch October 8, 2021 18:49
beervoley added a commit that referenced this pull request Nov 19, 2021
michaelfarnsworth pushed a commit to michaelfarnsworth/AdaptiveCards that referenced this pull request Nov 10, 2022
* [UWP] Input.Text password style support

* Fix test failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Input.Text masking/password support for XAML
4 participants