Edit a value
Connect a text input to one writable local value.
Before you start: Respond to a press.
model="name" supplies the current value and handles the control’s change event by assigning event.value back to name. The readout and input share the same state.
Connect the input
The input owns editing behavior; the document owns its value.
<Column state="{name:''}" class="p-4 gap-3">
<TextField label="Your name" model="name" />
<Text bind-text="'Hello, ' + name" />
</Column>
Edit one value
editable
rReady to explore
Try it: Type a name and watch the readout. Change the initial state to {name:'Sam'} and reset the example.
Next: show conditional content. Reference: model.