View Source AshAuthentication.Phoenix.Components.Reset.Form (ash_authentication_phoenix v1.4.7)
Generates a default password reset form.
component-heirarchy
Component heirarchy
This is a child of AshAuthentication.Phoenix.Components.Reset.
Children:
AshAuthentication.Phoenix.Components.Password.Input.identity_field/1AshAuthentication.Phoenix.Components.Password.Input.password_field/1AshAuthentication.Phoenix.Components.Password.Input.submit/1AshAuthentication.Phoenix.Components.Password.Input.error/1
props
Props
token- The reset token.socket- Phoenix LiveView socket. This is needed to be able to retrieve the correct CSS configuration. Required.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
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.:root_class- CSS class for the rootdivelement.:spacer_class- CSS classes for space between the password input and submit elements.
See AshAuthentication.Phoenix.Overrides for more information.
Link to this section Summary
Link to this section Types
@type props() :: %{ :socket => Phoenix.LiveView.Socket.t(), :strategy => AshAuthentication.Strategy.t(), :token => String.t(), optional(:label) => String.t() | false, optional(:overrices) => [module()] }