-
I'm looking for an answer to this question: I tried this : But the result is full of "false" and not the tags Thank you in advance |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi, First of all you should reverse arguments, because you must check if array [1,2,3] not contains ID:
|
Beta Was this translation helpful? Give feedback.
-
@heyadlx - I know what happens - handlebars have specific handling of arrays/objects what leads to issues with passing arrays as arguments. Unfortunately it is connected strictly with hbs - that's why my unit tests was working fine, but in terms of hbs syntax it is a problem :/ In this case, the only solution is to fix these helpers in v.0.45 |
Beta Was this translation helpful? Give feedback.
-
@heyadlx - solved in #1345 |
Beta Was this translation helpful? Give feedback.
@heyadlx - I know what happens - handlebars have specific handling of arrays/objects what leads to issues with passing arrays as arguments. Unfortunately it is connected strictly with hbs - that's why my unit tests was working fine, but in terms of hbs syntax it is a problem :/
In this case, the only solution is to fix these helpers in v.0.45