Skip to content
New issue

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

Conditionals on Handlebars #176

Open
robsonsobral opened this issue Oct 29, 2020 · 4 comments
Open

Conditionals on Handlebars #176

robsonsobral opened this issue Oct 29, 2020 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@robsonsobral
Copy link

Can you consider updating Handlebars, please? The version in use doesn't allow else if.

Thank you!

@nk-o
Copy link
Collaborator

nk-o commented Nov 1, 2020

Hey.

if and else working with no problems https://lazyblocks.com/documentation/blocks-controls/checkbox-toggle/

@nk-o nk-o closed this as completed Nov 1, 2020
@robsonsobral
Copy link
Author

I should have explained better. I'm talking about else if.

{{#if }}
    
{{else if}}

{{else}} 

{{/if}}

I'm sorry.

@nk-o
Copy link
Collaborator

nk-o commented Nov 4, 2020

Understand now. We use the PHP version of Handlebars (https://github.com/XaminProject/handlebars.php) and looks like this if else helper is not working correctly. Maybe someone could help with fixing it.

@nk-o nk-o reopened this Nov 4, 2020
@nk-o nk-o added bug Something isn't working help wanted Extra attention is needed labels Nov 4, 2020
@vinayraghu
Copy link

I'm not a PHP dev but looks like this might be a drop in replacement for this issue? https://github.com/zordius/lightncandy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants