-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Blazor: Problem with EventCallBack in Generic component #17480
Comments
I'm having the same issue... |
@Flearz Can you upload your reproduction to a GitHub repository? I've tried to create a simple repro with a generic component that accepts an event callback and do see the There maybe something else in your application that is causing the issue so a repro will help. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate. See our Issue Management Policies for more information. |
Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog clean. If you believe there is a concern related to the ASP.NET Core framework, which hasn't been addressed yet, please file a new issue. This issue will be locked after 30 more days of inactivity. If you still wish to discuss this subject after then, please create a new issue! |
Describe the bug
My event is not called in the parent component when using EventCallBack in a child component.
I've already been through #12116 and #8385 but It still not working
To Reproduce
My code:
Tree.razor (child)
"TEST" is correctly displayed in the console. so the problem is from InvokeAsync.
My eventargs:
MAIN.razor (parent)
I tried some of the solutions like writing the type :
TNode = "TreeItem"
or writingOnDoubleClickOnVariable="(DoubleClickVariableEventArgs x) => OnVariableDoubleClick(x)"
Without success...I want to say that I used the exact same structure in another non-generic component and it's working perfectly.
Further technical details
Lastest Blazor, VS Preview versions
P.S. On of my first post on github sorry if it's unreadable
The text was updated successfully, but these errors were encountered: