Hi Isomorphic,
is there a built in way of getting the oldValue in a ChangedHandler of a FormItem? Or do I have to somehow store it myself in an overridden setValue()?
Use case:
Appointments with start and end. On move of start, I want to move end by the same amount start was moved (like it is happening in Outlook and google calendar).
Therefore I need to compute the difference between oldStart and newStart.
event.getValue() says in the docs:
Thank you & Best regards
Blama
is there a built in way of getting the oldValue in a ChangedHandler of a FormItem? Or do I have to somehow store it myself in an overridden setValue()?
Use case:
Appointments with start and end. On move of start, I want to move end by the same amount start was moved (like it is happening in Outlook and google calendar).
Therefore I need to compute the difference between oldStart and newStart.
event.getValue() says in the docs:
The current value (after the change).
Blama
Comment