Displays a composite input password.

type

(string)  Must be equals to password.

label

(string)  The label to display next to the field.

help

(string)  An optional text to describe the purpose of the field.

required

(bool)  Whether the field is mandatory or optional.

value

(string)  The last saved password.

toggle

(bool)  Whether to display a button to show/hide the typed password.

id

(string)  An optional field ID.

class

(string)  An optional field class suffix.

hidden

(bool)  True to avoid displaying the label of the field.

[
    'pwd' => [
        'type' => 'password',
        'label' => 'Password',
        'value' => 'abc123',
        'toggle' => true,
    ]
]

Changelog

Version Description
1.7.3 Introduced.
Last Update: 2022-03-09 14:38
Helpful?