You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Ember 3.4, I have a very basic button component that uses the click event to trigger the alert() function. When I invoke the button component with angle bracket syntax and set an "id" attribute, the click event never triggers. If I remove the "id" attribute then the click event triggers properly.
If I invoke the component with the classic syntax, the event also triggers properly.
Here's a simple twiddle illustrating the problem. Removing the "id" attribute will have the button behave as expected.
On Ember 3.4, I have a very basic button component that uses the click event to trigger the alert() function. When I invoke the button component with angle bracket syntax and set an "id" attribute, the click event never triggers. If I remove the "id" attribute then the click event triggers properly.
If I invoke the component with the classic syntax, the event also triggers properly.
Here's a simple twiddle illustrating the problem. Removing the "id" attribute will have the button behave as expected.
https://ember-twiddle.com/7923dc81876eb33337af534659987bfa?openFiles=templates.application.hbs%2Ctemplates.components.button-click.hbs
The text was updated successfully, but these errors were encountered: