Hi,
I’m trying to use an expression on the color property within a swipable list item as per below.
Any ideas why this doesn’t work?
Cheers,
Adam
Hi,
I’m trying to use an expression on the color property within a swipable list item as per below.
Any ideas why this doesn’t work?
Cheers,
Adam
Try and put those colours in quotes please and let me know if that works. e.g.
=@ctx.current.item.assignedTo = @ctx,user.email ? ‘warning’ : ‘primary’
Thanks Adam - I have raised a bug. For now it seems that value on the swipeable action must be negative , positive or warning. I think it should take an expression.