

Every state


default


focus


error


error-focus


error-no-fix


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "start-date" | Input id; the label, description and error point at it. |
| name | string | "startDate" | Form field name. |
| label | string | "Start date" | Visible label. |
| description | string | – | Help text under the label. |
| type | string | – | Input type. |
| inputMode | string | "numeric" | Keyboard to show on phones. |
| autoComplete | string | "off" | Autocomplete hint. |
| placeholder | string | "DD/MM/YYYY" | Placeholder inside the field. |
| defaultValue | string | – | Starting value. |
| required | boolean | – | Marks the field required. |
| disabled | boolean | – | Disables the field. |
| error | string | – | What is wrong; makes the field invalid and links the message to it. |
| fix | string | – | How to put it right, shown under the error. |
| className | string | – | Extra classes on the outer Field. |


