Closed AlexTselikas closed 3 years ago
I'm on v3.8.3 and I can use == false
with no problems. With the info you've given, I think this can only mean that the value of the variable that you are testing is actually true, not false. You can test that == false
is indeed working by setting a variable to false in your template and testing if it's false:
<%
let test = false
%>
<%= if (test == false) { %>
<p>The test was false</p>
<% } %>
I hope this helps. Adam
@adam-buckley,
This pull request should fix the issue.
Hello, I am using version v3.8.3 and i have this problem. If i use:
it doesn't work. I have to use this:
It doesn't display an error message, it just doesn't write the HTML.If i use variable == true it works.