Skip to content

conditional change of <input> type attribute not working. #6313

@trusktr

Description

@trusktr

Version

2.4.2

Reproduction link

https://jsfiddle.net/trusktr/50wL7mdz/52198/

Steps to reproduce

Try to type in the text field. It will keep clearing your input every second.

What is expected?

It should toggle between showing and hiding the password.

What is actually happening?

It is destroying the input (or clearing its value) each time the value of hidden changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions