I'm hoping that there is a simple solution to my problem. Reading all the documentation I'm under the impression that the snippet below should work out of the box but I'm getting the following error message:
Uncaught DevelopmentError: Unrecognized filter 'toSentence' in key "['one','two'] | toSentence"!
<span data-bind="['one','two'] | toSentence"></span>
I can see that toSentence
is defined within Batman.helpers.
As a work around I've created my own filter which references Batman.helpers.toSentence but this ugly. I'm sure it should just work.
Any help appreciated.