View Source AshAuthentication.Phoenix.Components.Password.RegisterForm (ash_authentication_phoenix v1.9.2)

Generates a default registration form.

Component hierarchy

This is a child of AshAuthentication.Phoenix.Components.Password.

Children:

Props

  • strategy - The strategy configuration as per AshAuthentication.Info.strategy/2. Required.
  • socket - Needed to infer the otp-app from the Phoenix endpoint.
  • overrides - A list of override modules.

Overrides

This component provides the following overrides:

  • :root_class - CSS class for the root div element.
  • :label_class - CSS class for the h2 element.
  • :form_class - CSS class for the form element.
  • :disable_button_text - Text for the submit button when the request is happening.
  • :slot_class - CSS class for the div surrounding the slot.

See AshAuthentication.Phoenix.Overrides for more information.

Summary

Types

@type props() :: %{
  :strategy => AshAuthentication.Strategy.t(),
  optional(:overrides) => [module()],
  optional(:live_action) => :sign_in | :register,
  optional(:current_tenant) => String.t()
}