Skip to content

Custom event args can't receive IJSObjectReference #31238

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

Closed
SteveSandersonMS opened this issue Mar 25, 2021 · 0 comments · Fixed by #31591
Closed

Custom event args can't receive IJSObjectReference #31238

SteveSandersonMS opened this issue Mar 25, 2021 · 0 comments · Fixed by #31591
Assignees
Labels
area-blazor Includes: Blazor, Razor Components bug This issue describes a behavior which is not expected - a bug.
Milestone

Comments

@SteveSandersonMS
Copy link
Member

The JSON deserializer for custom event args doesn't use the options on the JSRuntime, so it doesn't use the custom converters and can't receive either IJSObjectReference or DotNetObjectReference.

@SteveSandersonMS SteveSandersonMS added the area-blazor Includes: Blazor, Razor Components label Mar 25, 2021
@mkArtakMSFT mkArtakMSFT added the bug This issue describes a behavior which is not expected - a bug. label Mar 25, 2021
@mkArtakMSFT mkArtakMSFT added this to the 6.0-preview4 milestone Mar 25, 2021
@ghost ghost locked as resolved and limited conversation to collaborators May 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components bug This issue describes a behavior which is not expected - a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants