Bug or Beginner fault in 5.1.3 with rendering and vars

I am running OH5 (5.1.3) on a RaspberryPi. And I tried to write my own widget but came across some strange behavior when using f7-card, oh-repeater, and trying to make a list of items. After some investigations and breaking it down there are two main problems documented in the screenshot which I am not able to solve:

First the calculated variables e.g. “foo” in f7-card are not available in other components (JSON.stringify(vars) remains empty).

Second: The component oh-row and its oh-label-cell are not rendered.

What am I doing wrong here? Or is it a bug?

TIA

You cannot define variables this way. The only two ways to set the value of a variable are by using the variable action of a component or setting a default value using an oh-context (although there are a few issues still with variables and the oh-context).

There is no such component as oh-row. You could use f7-row there instead. Not every single f7- component has an oh- equivalent.

Thanks a lot, JustinG!