I’m trying to apply a specific css to each individual item in an unitlist. For that I define a function for the template parameter.
The problem is that I cannot instantiate my custom button defined in an activeContent. Is there any other way to instantiate it besides the “{common.myButton()}” syntax?
Here’s an example.
I tried to use the scheme approach to style my list items dynamically. It works flawlessly with a normal list but I couldn’t get it to work with a unitlist.
Am I doing something wrong?
Here’s an example.
Thanks!