fix component interaction with sub-components

This commit is contained in:
2019-10-19 18:03:18 +02:00
parent 24bf7c98e3
commit 12be86a1d6
9 changed files with 54 additions and 73 deletions

View File

@@ -1,4 +1,4 @@
<mat-form-field id="limitBy">
<mat-form-field class="pdb-form-mid">
<mat-label>Limit By:</mat-label>
<mat-select [(value)]="limitBy">
<mat-option value="NO_LIMIT">no limit</mat-option>
@@ -9,14 +9,13 @@
</mat-select>
</mat-form-field>
<mat-form-field id="limit"
<mat-form-field class="pdb-form-number"
*ngIf="limitBy !== 'NO_LIMIT'">
<input
matInput
type="number"
placeholder="Limit"
min="1"
value="{{limit}}"
[(ngModel)]="limit"
>
</mat-form-field>