Hide Button in List Item
Hi
I have a button (pair) on a list item. I want it to be hidden based on the value of the label called cat on the same list item but it only hides the button on the first list item. All buttons on the rest of the list items should also be hidden because their value is not 16, but the button is not hidden.
This is my js for the "cat" label in the mapping.
if (value !== 16) {
Appery('mobilebutton_118').hide();
}
return value;