Issue
There is the standard input as:
<input type="number" placeholder="Hours">
Is there something in Angular Material Design?
I use Angular latest version
I tried this, but it is just simple input:
<md-input-container>
<input mdInput type="number" placeholder="Favorite food" value="Sushi">
</md-input-container>
It should be < md-input-container input="number">
? ot input type="number">
?
Solution
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