ElementReference as HTML tag attribute

Dear radzen-fans/friends/addicted ...

I'm trying to make our site more robust. I noticed that for certain tags an ElementReference (I think) is used as an attribute. As an example RadzenIcon.razor <i @ref=@Element ...
the validator Ready to check - Nu Html Checker complains about this as an error (for compatibility reasons)

Quite naively, the prefix "data-" ("_xyz" become "data-_xyz") would solve the problem, however I don't overview the possible side effects on the framework and what the references are actually used for.

Before I post an issue and start thinking about PullRequests, what does the professional say about such a solution approach?


This is something related to Blazor framework in general and not limited to Radzen Blazor components.

1 Like