Text input not changing border color

Hi,

I am trying to set the border color for a text input field to red if it is empty like below:

IF(IS_EMPTY(self.value), “red”, theme.$colorContentSubdued)

This does not seem to be working. Looks like self.value is always undefined. I used this before and it worked. Is this a bug?

Regards,
Firas