Files
perfdb/pdb-js/src/app/limit-by/limit-by.component.html
2023-03-12 08:24:16 +01:00

28 lines
761 B
HTML

<style>
:host {
display: flex;
}
</style>
<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>
<mat-option value="MOST_VALUES">most values</mat-option>
<mat-option value="FEWEST_VALUES">fewest values</mat-option>
<mat-option value="MAX_VALUE">max value</mat-option>
<mat-option value="MIN_VALUE">min value</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field class="pdb-form-number"
*ngIf="limitBy !== 'NO_LIMIT'">
<mat-label><!--empty label needed for layout reasons--></mat-label>
<input
matInput
type="number"
placeholder="Limit"
min="1"
[(ngModel)]="limit"
>
</mat-form-field>