View Source AshAuthentication.Phoenix.Components.Password.ResetForm (ash_authentication_phoenix v1.4.7)
Generates a default password reset form.
component-hierarchy
Component hierarchy
This is a child of AshAuthentication.Phoenix.Components.Password.
Children:
AshAuthentication.Phoenix.Components.Password.Input.identity_field/1AshAuthentication.Phoenix.Components.Password.Input.submit/1
props
Props
strategy- The configuration map as perAshAuthentication.Info.strategy/2. Required.label- The text to show in the submit label. Generated from the configured action name (viaPhoenix.HTML.Form.humanize/1) if not supplied. Set tofalseto disable.overrides- A list of override modules.
overrides
Overrides
This component provides the following overrides:
:disable_button_text- Text for the submit button when the request is happening.:form_class- CSS class for theformelement.:label_class- CSS class for theh2element.:reset_flash_text- Text for the flash message when a request is received. Set tonilto disable.:root_class- CSS class for the rootdivelement.:slot_class- CSS class for thedivsurrounding the slot.
See AshAuthentication.Phoenix.Overrides for more information.
Link to this section Summary
Link to this section Types
@type props() :: %{ :strategy => AshAuthentication.Strategy.t(), optional(:label) => String.t() | false, optional(:overrides) => [module()] }