Solved
How to refresh textfield to be blank after click any button?
As title
As title
Here is a simple code snippet that should help you achieve this functionality. As mentioned by other practitioners, you set the value of your text input to null in the button's saveInto.
a!localVariables(
local!text,
{
a!textField(
label: "Input",
value: local!text,
saveInto: local!text
),
a!buttonArrayLayout(
buttons: a!buttonWidget(
label: "REFRESH INPUT FIELD",
saveInto: { a!save(local!text, null()) }
)
)
}
)Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.