36 lines
893 B
Plaintext
36 lines
893 B
Plaintext
<div>
|
|
<h3>Step 3: Password</h3>
|
|
<div class="form-field d-flex align-items-center">
|
|
|
|
|
|
<DxTextBox @bind-Text="@Password"
|
|
Password="true"
|
|
CssClass="cw-320" />
|
|
|
|
<!--input @bind="Email" type="email" name="email" id="email" placeholder="Email"-->
|
|
</div>
|
|
|
|
<!--input @bind="Password" type="password" placeholder="Enter your password" /-->
|
|
<a class="btn btn-primary mt-3" @onclick="SubmitRegistration">Next</a>
|
|
</div>
|
|
|
|
@code {
|
|
[Parameter]
|
|
public string Password { get; set; }
|
|
|
|
[Parameter]
|
|
public EventCallback<string> PasswordChanged { get; set; }
|
|
|
|
[Parameter]
|
|
public EventCallback onSubmit { get; set; }
|
|
|
|
|
|
|
|
public async Task SubmitRegistration()
|
|
{
|
|
await PasswordChanged.InvokeAsync(Password);
|
|
await onSubmit.InvokeAsync();
|
|
}
|
|
}
|
|
|