Inline Edit
Click-to-edit text field for inspectors and headers with `Enter` to commit and `Esc` to cancel.
Single-Line Click-to-Edit
Click any value to edit in place: press Enter to save or Escape to discard.
Deal TitlePhone
Multiline, Empty Placeholder & Disabled
API Reference (Props)
| Name | Type | Default | Description |
|---|---|---|---|
| value* | string | — | Current persisted value. |
| onSave* | (next: string) => void | Promise<void> | — | Called when a modified value is committed on blur or Enter. |
| placeholder | string | 'დამატება…' | Placeholder rendered when `value` is empty. |
| multiline | boolean | false | Switches edit mode to a multi-line `<textarea>`. |
| sub | ReactNode | — | Quiet secondary suffix shown next to the value in view mode. |