Skip to content

Commit

Permalink
login/register buttons can be submitted via 'return'
Browse files Browse the repository at this point in the history
  • Loading branch information
chucker committed Jun 22, 2023
1 parent fe14bc1 commit 72e2c7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PubNet.Frontend/Shared/LoginForm.razor
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<Field Horizontal>
<FieldLabel ColumnSize="ColumnSize.Is2" />
<FieldBody ColumnSize="ColumnSize.Is10">
<Button Color="Color.Primary" Clicked="@Submit">Login</Button>
<Button Color="Color.Primary" Clicked="@Submit" Type="ButtonType.Submit">Login</Button>
</FieldBody>
</Field>
</Validations>
Expand Down
2 changes: 1 addition & 1 deletion PubNet.Frontend/Shared/RegisterForm.razor
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<Field Horizontal>
<FieldLabel ColumnSize="ColumnSize.Is2" />
<FieldBody ColumnSize="ColumnSize.Is10">
<Button Color="Color.Primary" Clicked="@Submit">Register</Button>
<Button Color="Color.Primary" Clicked="@Submit" Type="ButtonType.Submit">Register</Button>
</FieldBody>
</Field>
</Validations>
Expand Down

0 comments on commit 72e2c7f

Please sign in to comment.