disable open button until code is in box
This commit is contained in:
parent
1681c012ed
commit
ae5595ac8a
@ -10,7 +10,7 @@
|
||||
<form class="input-group">
|
||||
<input type="text" class="form-control" [(ngModel)]="code" name="code" placeholder="Code">
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-danger" [routerLink]="['/', code]" style="background-color: #dd0330">Open</button>
|
||||
<button class="btn btn-danger" [routerLink]="['/', code]" style="background-color: #dd0330" [disabled]="!code">Open</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user