Skip to content

Input type password. has password plain text in the html value="" #18064

@NHenzen

Description

@NHenzen

What happened?

I have a password input field. When I type something into this field, it displays asterisks in the field itself.
However, if I inspect the input using developer tools, I can see the value in plain text.

However is i do this on the quasar.dev site i dont have this behavior
https://quasar.dev/vue-components/input#example--input-types

It seems this behavior is not in Vue or a plain HTML password field.

What did you expect to happen?

That the password is not shown in the html

Reproduction URL

https://codepen.io/nick-henzen/pen/PwqrwwK

How to reproduce?

  1. Open codepen link
  2. type something into the password field like "password-input"
  3. inspect the field and find the input -> value is visable

Example:
<input class="q-field__native q-placeholder" tabindex="0" id="id0" type="password" value="password-input">

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar)

Platforms/Browsers

Chrome, Microsoft Edge, Firefox

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions