To simplify the code and reduce the risk of errors, it is unnecessary to add
mutually exclusive conditions to the children and their attributes in relation
to the element. These conditions will never be true and only add complexity to
the code.
Instead, it is recommended to apply conditions only to the element
itself, and omit applying conditions to its children. This approach makes the
code easier to read and understand.
-- ftd.column:
if: { flag }
-- ftd.text: Hello
if: { !flag }
-- ftd.text: World
color if { !flag }: green
-- end: ftd.column
-- ftd.column:
if: { flag }
-- ftd.text: World
-- end: ftd.column