Corex. PasswordInput. Translation
(Corex v0.1.0-rc.0)
View Source
Translatable strings for Corex.PasswordInput.
Pass translation={%Corex.PasswordInput.Translation{}} to override any field. Omitted fields use gettext defaults (see table).
| Field | Default | Used for |
|---|---|---|
toggle_visibility | Toggle password visibility | Visibility trigger aria-label |
Partial override example:
translation={%Corex.PasswordInput.Translation{
toggle_visibility: Corex.Gettext.gettext("Show password")
}}
Summary
Types
@type t() :: %Corex.PasswordInput.Translation{toggle_visibility: String.t()}