View Source AshAuthentication.Phoenix.Components.Password.RegisterForm (ash_authentication_phoenix v1.5.1)
Generates a default registration form.
component-hierarchy
Component hierarchy
This is a child of AshAuthentication.Phoenix.Components.Password
.
Children:
AshAuthentication.Phoenix.Components.Password.Input.identity_field/1
AshAuthentication.Phoenix.Components.Password.Input.password_field/1
AshAuthentication.Phoenix.Components.Password.Input.password_confirmation_field/1
AshAuthentication.Phoenix.Components.Password.Input.submit/1
props
Props
strategy
- The strategy configuration as perAshAuthentication.Info.strategy/2
. Required.socket
- Needed to infer the otp-app from the Phoenix endpoint.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 theform
element.:label_class
- CSS class for theh2
element.:root_class
- CSS class for the rootdiv
element.:slot_class
- CSS class for thediv
surrounding 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(:overrides) => [module()] }