

Every state


default


focus


editing


saving


saved


error


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "project-name" | Input id. |
| name | string | "projectName" | Form field name. |
| label | string | "Project name" | Visible label. |
| description | string | – | Help text under the field. |
| defaultValue | string | "Spring catalogue" | Starting value. |
| onSave | (value: string) => Promise<string | void> | – | Saves the value; resolve with an error message to keep editing. The default is a local example. |
| editing | boolean | – | Start in edit mode (previews). |
| saving | boolean | – | Start while saving (previews). |
| saved | boolean | – | Start with the saved confirmation shown. |
| error | string | – | Error message; opens the field in edit mode, invalid. |
| disabled | boolean | – | Disables the field. |
| className | string | – | Extra classes on the outer Field. |
More input groups
All 14input-group-09 is in UI ProGet UI Pro, €199


