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
C# expressions in attributes with hyphens don't compile #16429
Comments
I imagine this is a bug in the node writer logic. If you think we're close to removing support for the temporary I have a PR out for https://github.com/aspnet/Blazor/issues/214 now. |
I can confirm that this does reproduce easily though |
@rynowak I know this is assigned to you, and maybe you're addressing it as part of the |
Go ahead, I don't think I can get to this before monday |
Has this one been closed because there is a temporary workaround? If so, it should be re-opened. This still doesn't compile:
|
Hi @davidnmbond - we know of an issue specifically with You can work around that for now by using If that doesn't resolve your problem please open a new issue and provide details so we can investigate. |
In a cshtml file, try
<div data-something="@someValue"></div>
The text was updated successfully, but these errors were encountered: