Getting listitem border green after checkbox is checked

Getting listitem border green after checkbox is checked

  

So, I'm a bit lost finding examples for this. I have mobile 10 app, I have a list with items, on the item is a checkbox. When the checkbox is clicked and selected, the list item border must become green. Any tips on how to accomplish this ? 

Regards,

Wim

Solution

Hi Wim,

First you  need to add a class to the stylesheet, something like below:

.border-green {

   border: 1px solid green;

}

Then on the List item style attribute, you conditionally add the class, please see below image:


That should do the trick, let me know if it worked.


Cheers,

Solution

thx it works, now get the listitem to look like a card, they want openings between the listitems.. I really don't like creative designers ;-)