šŸ› Logged:Ā Unable to add listener to list item's trigger property

I have turned to databinding a list for my shop card widgets, which works - nice!!

The one thing I’m stuck at is receiving a callback for when the user has clicked a widget.

I have set it up like this:

and this

in the editor.

In code I am adding instances and their listeners as followed:

for i in 0..<fakeShopData.items.count {
    let listItem = shopItemModel.createInstance()!

    let triggerProperty = listItem.triggerProperty(fromPath: "Closed")

    guard let triggerProperty else {
        print("Could not find triggerProperty")
        return
    }

    triggerProperty.addListener { [weak self, weak listItem] in
        guard let self, let listItem else {
            print("Self or listItem is nil")
            return }
        self.itemListProperty?.remove(listItem)
        print("Removed item")
    }

    print(triggerProperty)
    itemListProperty.append(listItem)
}  
        


<RiveDataBindingViewModelInstanceTriggerProperty: 0x600001643e70>

Everything seems to be fine but the callback is not called when clicking the card.
(The price amount is set as expected as its using the same editor listener)

For testing I have added a trigger on the parent artboard spawning the list items and the listener setup is working just fine there.

Am I missing a step somewhere?

Here is a video of it:

addListenerProblem.mov

Thanks for any pointers!

seb