Input number in Angular Material Design?
In short, yes. You want < md-input-container > wrapper which supports the following input types
- date
- datetime-local
- month
- number
- password
- search
- tel
- text
- time
- url
- week
For example
<md-input-container>
<input
mdInput
type="number"
id="myNumber"
/>
</md-input-container>
Checkout https://material.angular.io/components/input/overview
Use this for angular material number,
<mat-form-field>
<input
type="number"
class="form-control"
matInput
name="value"
placeholder="Slab"
(change)="xxx()"
formControlName="value">
</mat-form-field>