0
Views
0
Comments
6.3 Change Reusable Page Elements
Question
The cancel button implemented in this video has a little "bug".
Since the Switch fetches the value of the PriorityId from the Form (or EditRecord), then when someone changes the value in the Form (for example from High to Low) and presses Cancel it will be redirected to the new page (Low) instead of the original (High).
This can be corrected by using the Current value from the Aggregate (GetIssueById.List.Current.Issue.PriorityId) instead of the Record value from the Form (IssueForm.Record.Issue.PriorityId).

Best Regards,
Hugo Martins
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.