Constructor
# <InputNumber />
InputNumber Component
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
name |
string
|
The html name attribute for the input tag. | ||
label |
string
|
The text for the html label tag. | ||
placeholder |
string
|
The input placeholder. | ||
icon |
ReactElement
|
<optional> |
The icon to display inside the input field. | |
disabled |
disabled
|
<optional> |
Whether the input tag is disabled or not. | |
min |
number
|
<optional> |
Minimum number for validation. | |
max |
number
|
<optional> |
Maximum number for validation. | |
required |
boolean
|
<optional> |
false | If this field is required or not. |