Skip to content
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 Data-Attribute rendering error #8704

Closed
SamProf opened this issue Mar 21, 2019 · 1 comment

Comments

Projects
None yet
3 participants
@SamProf
Copy link

commented Mar 21, 2019

Describe the bug

When you add ref all data-attributes not working anymore.
We have exception: System.InvalidOperationException: Attributes may only be added immediately after frames of type Element or Component

<div ref="Ref" data-test1="@test1"></div>
    @functions
    {
        ElementRef Ref;
        string test1 = "111";
    }
@mkArtakMSFT

This comment has been minimized.

Copy link
Member

commented Mar 26, 2019

Thanks for contacting us, @SamProf.
This is a known issue which we track at #7509

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.