Skip to content

Commit

Permalink
Add card Id to dictionary for select actions
Browse files Browse the repository at this point in the history
  • Loading branch information
eyadon committed Jul 12, 2023
1 parent 6e75f69 commit bdee580
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ public static FrameworkElement RenderSelectAction(this AdaptiveRenderContext con
return uiElement;
}

if (selectAction is AdaptiveSubmitAction || selectAction is AdaptiveExecuteAction)
{
context.SubmitActionCardId[selectAction] = context.RenderArgs.ContainerCardId;
}

context.IsRenderingSelectAction = true;
var uiButton = (Button) context.Render(selectAction);
context.IsRenderingSelectAction = false;
Expand Down

0 comments on commit bdee580

Please sign in to comment.