Appearance
FormPassword
A component of the Form category.
ts
import { FormPassword } from '@zairakai/vue-components/Form'Usage
vue
<FormPassword />Props
| Name | Type | Default | Description |
|---|---|---|---|
modelValue | string|number|boolean|null | null | |
pattern | string | null | Explicit pattern prop overrides the config-based default. |
showToggle | boolean | true | Render a show/hide toggle button inside the field. |
labelShow | string | 'Show password' | aria-label text — override for i18n, no built-in translation here (unlike the Blade equivalent, this package has no i18n system). |
labelHide | string | 'Hide password' |
Events
| Name | Description |
|---|---|
update:modelValue | |
isValid |
See Theming for the class hooks and the data-* state of the components.