(ui/forms/fields) Added examples of number fields

This commit is contained in:
Sercan Yemen 2022-10-03 11:12:56 +03:00
parent 41756200ca
commit cad7cd43f0

View File

@ -245,6 +245,17 @@
<mat-hint>This is a hint text</mat-hint> <mat-hint>This is a hint text</mat-hint>
</mat-form-field> </mat-form-field>
</div> </div>
<div class="flex">
<mat-form-field
[ngClass]="formFieldHelpers"
class="flex-auto">
<mat-label>Number</mat-label>
<input
type="number"
matInput
[placeholder]="'This is a placeholder'">
</mat-form-field>
</div>
<div class="flex"> <div class="flex">
<mat-form-field <mat-form-field
[ngClass]="formFieldHelpers" [ngClass]="formFieldHelpers"
@ -508,6 +519,16 @@
[placeholder]="'Input'"> [placeholder]="'Input'">
</mat-form-field> </mat-form-field>
</div> </div>
<div class="flex">
<mat-form-field
[ngClass]="formFieldHelpers"
class="flex-auto">
<input
type="number"
matInput
[placeholder]="'Number'">
</mat-form-field>
</div>
<div class="flex"> <div class="flex">
<mat-form-field <mat-form-field
[ngClass]="formFieldHelpers" [ngClass]="formFieldHelpers"