For a numeric field that has a value 1 or 0, I would like, in a dynamic table, to show an icon or Awesome character for each of the 2 values
Is there a tutorial to do this with Wappler?
Thanks to those who know how to give me an answer
This should be pretty easy in Wappler.
1: Put both icons on your page in your table where you want them.
2: In the DOM Panel or in the code wrap each icon with a span tag
3: In your DOM Panel select the first icon span tag
4: In the Dynamic Attributes go to Display > Show and in the dynamic picker select your data value
5: In the data formatter set if value = 1
6: Do the same for the second icon but set display to hide if value = 1
Hope that gets you pointed in the right direction.
3 Likes
Perfect thank you very much