Skip to Content
0
Jun 14, 2018 at 07:21 AM

Refresh the contents of an input field

152 Views

I have a simple form with an input field:


On hitting the Edit Button, I am setting the editable property of input field to true and I get a view like this.

I then change the Input values to something like below:

Note that I have rendered two new buttons here and hidden the buttons 'Back' and 'Edit'.

On hitting cancel, I want:

But I end up getting, the following:

The question is - how to refresh the contents of the input field? I am getting the value initially into the input field by way of binding from a master list. Cancel button is simply a 'change of mind' option, so to speak!

Regards,

KC

Attachments

initial.jpg (17.3 kB)
initial-2.jpg (20.9 kB)
initial-3.jpg (20.8 kB)
initial-5.jpg (18.9 kB)
initial-4.jpg (21.7 kB)