Hi,
I've created a gallery with action buttons. The action buttons patch the items in the gallery.
Gallery items: EditArchitects_Icon_OnSelect_architectsAssigned_col- a collection of architects assigned to a case
Accept button - a button for an architect to accept assignment to the case.
Accept button code:
Patch(
EditArchitects_Icon_OnSelect_architectsAssigned_col,
ThisItem,
{architectaccepted: 1}
);Before clicking accept:
After clicking on accept, a second empty item appears.:
When clicking the lead architect button on the empty item (code below):
Patch(
EditArchitects_Icon_OnSelect_architectsAssigned_col,
ThisItem,
{
leadarchitect: If(
Self.Value,
1,
0
)
}
)it changes the lead architect status of the first, valid item as well. So there's some connection between these two items.
Would you guys have any idea of how to stop the creation of the empty item?

Report
All responses (
Answers (