Options.inverse is not a function
What I'm attempting to do is If EntityIdentifierCode=SF or SH return pickup else return delivery. When I do I get the message below. Can you tell me what that message means and what I'm doing wrong?
0
Comments
Hi Jack Harris,
try this :
That worked, but do you know why the OR didn't work?
I think it has to do with the "compare" combination with the "or" .. have to run some tests to find what's wrong with it.
Your compare handlebars were missing the end blocks {{/compare}}, that was throwing the error.
As far as I know you can't use block helpers inside of another set of curly braces, it will have to be nested as in Youssefs example.
Please sign in to leave a comment.