actionInProgressand change its type to True/false. Then, open the Advanced properties section of the Button Properties tab and bind the Visible value to a formula:
actionInProgress, so that it's shown when
actionInProgresspage variable now switches which component is shown.
actionInProgresspage variable to True when your Button is tapped. Remember to toggle the value back to False when the action ends, even if your complex action has more outputs that the Delay we are using here. Be sure to cover potential error paths too!
actionInProgresswe need a page variable that can sort out the exact actions/buttons that are in progress.
actionIdsInProgressand change its value type to List. (Here we could also change List item type to UUID, but that’s not necessary, the default Text type works fine).
actionIdsInProgressto contain the
idproperties of repeated data items that have their related Button tapped. To add the related
idto the List, change the first Set page variable in the Button tap event to set
actionIdsInProgresslist to be itself plus the pressed Button's
actionIdsInProgressback to not include the related
actionIdsInProgress. Each Button should be visible if the
actionIdsInProgressList doesn’t include their id and invisible if their id is in the List. This can be accomplished with another formula:
!from the beginning and it will be visible when the
idis in the List.