Post

Replies

Boosts

Views

Activity

Comment on Strong password autofill, even if we don't want it
Not a solution, but a little workaround is adding the .onChange modifier when password changes to make confirmPassword = “” if confirmPassword != password. So after the user types their password and taps the confirm password field, the strong password doesn’t refill the field. This doesn’t solve the bug if the user behaves in an unexpected way (like trying to type the confirmPassword before password), but it helps a little.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’25