Field password
The field is used to enter a password.
- Keyword
password. - WhatWG Specification.
Params
autofocus Optional
- Type:
boolean | 'true' | 'false'
If this parameter is passed, when setting this field, control will be automatically transferred to it.
Also, all parameters common to all FormField. Information about them can be found on this page.
Meaning
This field works with string values.
Specification
- The field is available when using
TabandShift + Tab. - Switching input modes is changed by the switch.
- Lock cancels
Tabnavigation. - Blocking the field changes the style of
password. - Validation error changes
passwordstyle.
Examples
There are no additional-required parameters for this field, so we need to specify only type and name:
html
<form-field name = "pass" type="password"/><form-field name = "pass" type="password"/>ts
import {FormField} from "jenesius-vue-form";import {FormField} from "jenesius-vue-form";Default field:
Enter password
In locked state:
Disabled
Field not validated:
With error
The password is too simple
The current state of the form:
ts
{}{}