UNPKG

ipsos-components

Version:

Material Design components for Angular

14 lines (12 loc) 481 B
<div class="example-container"> <mat-form-field hintLabel="Max 10 characters"> <input matInput #input maxlength="10" placeholder="Enter some input"> <mat-hint align="end">{{input.value?.length || 0}}/10</mat-hint> </mat-form-field> <mat-form-field> <mat-select placeholder="Select me"> <mat-option value="option">Option</mat-option> </mat-select> <mat-hint align="end">Here's the dropdown arrow ^</mat-hint> </mat-form-field> </div>