Skip to content

Couldn't add Helper #16

@ErenAtolgan

Description

@ErenAtolgan

Hello

Like I said in EF Core power tools https://github.com/ErikEJ/SqlCeToolbox/issues/697

I have a little issue.. I dont know how add a helper I tried to add in Propreties.hbs the following line before then after the call

Handlebars.registerHelper('ifEquals', function(arg1, arg2, options) {
return (arg1 == arg2) ? options.fn(this) : options.inverse(this);
});
I have issue :

HandlebarsDotNet.HandlebarsRuntimeException: Template references a helper that is not registered. Could not find helper '#ifEquals'

Thank you
Best Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions