There are multiple ways to do this, depending on the intended type of visibility:
- Use the SASS/CSS :focus or active element to activate a display: none code (requires some trial and error)
-
.conditional-btn:active{
display: none;
}
- Use a non-persistent or persistent entity with a boolean that is switched when the button is pressed
- Activate microflow with a change object action and change the boolean and refresh the object
- Apply conditional visibility on the button