I need to perform something equivalent to this:
<ul data-bind="foreach: tags">
<li data-bind="text: $parent.formatTagText($data)"></li>
</ul>
Then in the model I'd have a formatTagText function that formats how the tag fields should be outputted as text.
Using ko.computed doesn't seem to permit passing parameters (the current item being iterated over).
Basically I'd need to invoke a function that could take the current iterated item the same way it's possible for the click binding but for the text binding...
Any suggestions on ways to achieve this?
Thanks!