cancel and validation on data linked edit form #57

Closed
bzuidgeest opened this Issue Mar 28, 2012 · 4 comments

Comments

Projects
None yet
3 participants

This is more an advice question instead of an issue. I created an table and use the link function to render the rows. Then when an edit button is clicked I change a row to an edit template. I took this technique from the accordion example and it works perfectly.

In the row there is also an cancel button when in edit mode. However because of the datalinking I no longer have the original object and thus I cannot change back to the original values.

I have several options here. I can request the original object from the server or I can use one of the clone scripts to store a copy of data on the view object. Both these options have their disadvantages. Is there a better way of implementing a "cancel" functionality? Maybe there is an option for delayed binding with an hook or something....

Any update on this concept? I am also opening a modal window into an "edit" form that has a cancel button on it...

Owner

BorisMoore commented Mar 15, 2013

Unfortunately I can't address this directly (as a built-in feature) for beta or V1, but it should be part of the V1.1 plan. Meantime there are are several ways it should be possible for it to be achieved with existing features... I hope I can explore and suggest approaches at some point, but I can't get to it at this point...

Owner

BorisMoore commented Sep 2, 2015

Closing "After V1.0" issues for now - to reopen as appropriate.

@BorisMoore BorisMoore closed this Sep 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment