Hi, I have buttons on my page with the following. ‘btn-outline-primary’
I am using the class toggle to update the button class to ‘btn-primary’ when the condition is true.
This condition is set using the dynamic event ‘Click’
However, my issue is that when I click anywhere in the white/dead space, the button text disappears I don’t know what could be causing it. See below.
Untitled video
Here is the button.
<button id="btnquote1val1" class="btn text-nowrap btn-outline-primary" dmx-on:click="session1.set('quotestep1_annualvalue','Under €100k')" dmx-class:btn-primary="(session1.data.quotestep1_annualvalue == 'Under €100k')">Under €100k</button>
Would anyone know why this is happening and how to resolve it?
Any help will be great, thanks.