Compile Error: execute is not a helper
Hey,
when installing Semantic-UI-Ember to a new ember project and generating these stuff with the ember generate semantic-ui-ember command, I get this error in my browser console when using actions in components:
Compile Error: execute is not a helper
I've tried copying & pasting code examples from the docs: Same error.
After googling a bit, I found an issue wich is from 2016 where the last reply says, that we should use
onclick="{{action (action execute 'open' 1)}}"
instead of
onclick="{{action (execute 'open' 1)}}"
But doesn't that mean, that the docs are incorrect? The first thing works, the second creates the error.
Thanks!
onclick="{{action (execute 'open' 1)}}" assumes that execute is a handlebars helper like mut or concat.
Compile Error: execute is not a helper is correct. execute is not a helper but a yielded function.