single: Forms; Fields; password
The password
field renders an input password text box.
Rendered as | input password field |
Options | |
Inherited options | |
Parent type | text</reference/forms/types/text> |
Class | Symfony\\Component\\Form\\Extension\\Core\\Type\\PasswordType |
type: Boolean
default: true
If set to true, the field will always render blank, even if the corresponding field has a value. When set to false, the password field will be rendered with the value
attribute set to its true value.
Put simply, if for some reason you want to render your password field with the password value already entered into the box, set this to false.
These options inherit from the field</reference/forms/types/field>
type: