Expressions for colors

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’

Hey, Thanks for the reply.
Unfortunately that breaks the jig with a red screen.

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.