Conditional font awesome icon

How can I show a font awesome icon based on a condition? For instance show a check icon within a button when a server connect is successful, similar to the inline border spinner.

I believe you would do it the exact same way as the spinner. Just show the icon on success rather than showing the spinner on processing.

Knipsel

Inline growing spinner has dynamic events and attributes, but the font awesome doesn’t have this…

1: Select your icon in the DOM Panel
2: Add Dynamic Attribute

Then you should be able to show it while executing I believe.

1 Like

That’s right, everything that’s a standard HTML element and not a bootstrap or app connect component is accessible through the Dom panel :slight_smile:

1 Like

Thanks!