Stylish Editable
An inline-editable text row — the web "Editable" pattern from Chakra UI.
Displays value as static text with a small edit affordance. Tapping switches to an input field; confirm (check) commits via onCommit and onValueChange, cancel (close) discards the edit. The field is committed when the keyboard's done action is pressed.
Parameters
The current text.
Called as the user types.
Modifier applied to the root row.
When false, editing is not possible.
Optional callback invoked with the final text when an edit is committed. When null, only onValueChange is called.
Typography of both the display text and the input. Defaults to MaterialTheme.typography.bodyLarge.
Corner shape of the input field. Defaults to RoundedCornerShape with DefaultStylishDimensions.connectedCornerRadius.
Whether the value is a single line. When true, the IME done action commits the edit. Defaults to true.