I have a view view that displays a selected item from a list. Then, when I click on the edit button, it displays the edit view through {{#if isEditing}}
When I click on another item in the list, the screen view changes to the newly selected item, but remains in isEditing state.
How to change the state of an isEditing view from another view?
I did this at the moment using the FocusOut function, which sets isEditing to false, but I have 2 text fields in this view, so when I click on another text field, it also runs the focusOut function.
It should be simple, but can't seem to figure it out!
source share