Skip to content

[iOS] Fixed Entry with IsPassword toggling loses previously entered text #30572

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

SubhikshaSf4851
Copy link
Contributor

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Root Cause:

When toggling the IsPassword property, the UpdateIsPassword method does not properly preserve and restore the current text after toggling.

Description of Change

Modified the UpdateIsPassword method in TextFieldExtensions to temporarily suppress the TextPropertySet event while clearing and reinserting the text for password fields. This ensures the text update does not trigger unintended side effects.

Issues Fixed

Fixes #30085

Tested the behaviour in the following platforms

  • Windows
  • Android
  • iOS
  • Mac
Before Issue Fix After Issue Fix
Screen.Recording.2025-07-11.at.5.11.32.PM.mov
Screen.Recording.2025-07-11.at.5.09.20.PM.mov

Copy link
Contributor

Hey there @@SubhikshaSf4851! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dotnet-policy-service dotnet-policy-service bot added community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration labels Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Entry with IsPassword toggling loses previously entered text on iOS when IsPassword is re-enabled
1 participant