Need to set background on value and not complete text in tab

  • 1
  • Problem
  • Updated 3 months ago
  • In Progress
Hi I have used {{$Model.EmployeeTab.data.length}} to return a number of entries but now need to highlight the value only not the text in the tab too. Any ideas?
Photo of Gurdeep

Gurdeep

  • 90 Points 75 badge 2x thumb

Posted 3 months ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
That's an interesting one. Have you tried adding html to the tab label?

Tab Text Title <span class="highlight-me">{{$Model.EmployeeTab.data.length}}</span>

If that works, you just need to add some css on the .highlight-me class.
Photo of DMC

DMC

  • 132 Points 100 badge 2x thumb
Gurdeep - Did this suggestion help you accomplish what you were trying to do?