We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I am using nodejs handlebars .
Error: Parse error on line 9: ...alue="{{#if editing || hasError }} {{pro -----------------------^ Expecting 'CLOSE_RAW_BLOCK', 'CLOSE', 'CLOSE_UNESCAPED', 'OPEN_SEXPR', 'CLOSE_SEXPR', 'ID', 'EQUALS', 'OPEN_BLOCK_PARAMS', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', 'SEP', got 'CLOSE_BLOCK_PARAMS' at Parser.parseError (G:\Learning\Course\Node\Maximilian-Node_Complete_
Any one idea ?
The text was updated successfully, but these errors were encountered:
https://stackoverflow.com/questions/8853396/logical-operator-in-a-handlebars-js-if-conditional
You will have to create a block helper for that. handlebars.js doesn't have a built in way to do that.
Sorry, something went wrong.
handlebars-helpers is a package that has a bunch of useful block helpers.
No branches or pull requests
Hello,
I am using nodejs handlebars .
I used input field and i have applied || condition in my code . but error occurred on it. Like as belowError: Parse error on line 9:
...alue="{{#if editing || hasError }} {{pro
-----------------------^
Expecting 'CLOSE_RAW_BLOCK', 'CLOSE', 'CLOSE_UNESCAPED', 'OPEN_SEXPR', 'CLOSE_SEXPR', 'ID', 'EQUALS', 'OPEN_BLOCK_PARAMS', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', 'SEP', got 'CLOSE_BLOCK_PARAMS'
at Parser.parseError (G:\Learning\Course\Node\Maximilian-Node_Complete_
Any one idea ?
The text was updated successfully, but these errors were encountered: