posted 8 years ago
Try this sample and see if anything in it does what you are looking for.
The sample implements a couple of different methods of providing editing functions.
One is a label, separate text field to edit the label and a save button to copy the edited text to the label (which I think is as you describe in your question).
The other editing method is a toggle button next to a text field which is initially read-only and styled to look like a label. When the button is toggled, the text field becomes editable and styled like a normal text field. Once the editing is complete by the user pressing enter or pressing the toggle button again to de-select it, the text field is styled to look like a label again.