-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssembly
Description
Working with .NET 5.0 RC2 I have the problem that components like InputText are rendered to HTML (from razor) without a scope identifier attribute. Not sure if scope identifier is the correct term, what I mean is this:
A plain <input type="text" ...>
in razor is rendered into e.g.: <input class="form-control" type="text" b-p5ext164c4>
whereas a <InputText>
is rendered into the same HTML element but without the b-p5ext164c4 attribute.
This means that I cannot easily address the <InputText>
with scoped CSS in my page.
Metadata
Metadata
Assignees
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssembly