Skip to content
This repository was archived by the owner on Dec 21, 2017. It is now read-only.

Commit 0159afe

Browse files
vishal-jshampur
authored andcommitted
Adds button type as submit (#287)
Login button fix
1 parent 60ae7f5 commit 0159afe

File tree

4 files changed

+63
-63
lines changed

4 files changed

+63
-63
lines changed

app/login/login.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ <h1 class="header" style="margin-left:6px; margin-right:auto;">
3030
</div>
3131

3232
<div align="center" style="margin-top: 10px">
33-
<button *ngIf="loginForm.valid" class="ui fluid primary button">
33+
<button *ngIf="loginForm.valid" class="ui fluid primary button" type="submit">
3434
Log In
3535
</button>
36-
<button *ngIf="!loginForm.valid" class="ui fluid disabled button">
36+
<button *ngIf="!loginForm.valid" class="ui fluid disabled button" type="submit">
3737
Log In
3838
</button>
3939
</div>

app/main.bundle.js

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/polyfills.bundle.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/vendor.bundle.js

+47-47
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)