Fix paste issue with PasswordBox and asterisk #1455
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
PasswordChar(e.g. " * ") into thePasswordBox, the character is incorrectly discarded.PasswordCharin the Text property is a masking symbol and not actual user inputBefore Fix
Issue Number: #1250 and #1148
What is the new behavior?
The
PasswordBoxnow properly distinguishes between masking and actual input. Characters identical to thePasswordChar, such as " * ", can now be entered or pasted as part of the password.The internal logic no longer strips or ignores these characters during input or paste operations. When the password is revealed, it correctly displays all characters, including those matching the mask symbol.
After Fix
Fixed unexpected icon behavior with multiple PasswordBoxes
Other information
N/A
QA
Testing Scenarios
Test#*{!ˇ12'Test#*{!ˇ12'Test*12@#!!(Paste this password into text field.Test*12@#!!(Paste this password into field. Select all text (CTRL+A or manually with the cursor) and re-enter the password from clipbaord