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
Action Logger doesn`t handle events with template prop #4820
Comments
@NasadiukVlad, Can you plase explain what is the difference, maybe it's not the same |
@igor-dv you are right! I just forget to add |
Hello, I face a complex problem since I wanted to mix ngx-translate with Knobs. I solved thanks to this issue Though, diving deeper I stumbled upon a problem. I started to use this feature with the 'StoriesOf' function, but eventually, I had to pass to an arrow function approach to build the story. The reason is, basically, for combine Knobs with the translate pipe and it works fine! Unfortunately, with the template on the arrow functions inputs works properly whilst actions don't! I leave an example below, thank you! Component.ts: @component({ constructor() {} onClick(): void { |
I've solved it! I attach the code below. Anyway, I would like to be capable of switch language translate with a knob, is it possible? |
Describe the bug
Impossible to handle events for Action logger, if use template. Action logger is empty after an event was executed
To Reproduce
template
andprops
click.Expected behavior
After button clicked, action logger display all info about the event
Code snippets
Story:
Component:
Component Template:
System:
The text was updated successfully, but these errors were encountered: