Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

password input fields inconsistant with angular values #8230

Closed
@EvanLomas

Description

@EvanLomas

~~ Issue 1 ~~
While writing a simple login window I've noticed that adding trailing spaces to password input fields causes the data stored in angular to only trim the stored value, but not correct the HTML5 input field.

for example, typing = "1" (replacing _ with spaces)
will result in the ng-model value being = "1"
but the field visible to the user will show "●●●●●●●●●●●●●●●●●"
Which is inconsistent and misleading to a user

~~ Issue 2 ~~
A different (but likely related) bug I've found is that repeating spaces within the password produces inconsistency in the stored data and it's variable itself

for example, typing = "1________1" (replacing _ with spaces)
will result in the ng-model value being = "1_1" (replacing _ with spaces)
but the ng-model ".length" attribute will be "10", not the expected "3"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions