Conditionally disabling field (or conditional required)

Oh I thought it was possible like that as well, based on this post: Required fields in conditional field context - #7 by texnixe

Any other solution?

I also tried this, but it didnt work

required: textTopRight
//or
required: textTopRight.isNotEmpty()