Closed Ogglas closed 1 year ago
The warning is wrong. The Chromium dev tools are not taking the shadow DOM into consideration when scanning for unique id's. Each id=control
is being applied in a component shadow DOM and is unique to that component
@vnbaaij Agreed but why is it only present when TextFieldType.Password
is used? If possible it would be nice to remove this warning.
Because Chromium is doing a fancy extra check then (with a link on creating beautiful login forms). Warning cannot be removed from our side.
Can we include this "Known Issue" in the docs for FluentTextFields? It really seems like an error on this side, but it is not the case.
Added this:
🐛 Bug Report
TextFieldType="TextFieldType.Password"
insideEditForm
causes the warning to show up if more than one component withid="control"
is used.https://learn.microsoft.com/en-us/aspnet/core/blazor/forms-and-input-components?view=aspnetcore-7.0
https://www.fluentui-blazor.net/TextField
💻 Repro or Code Sample
Minimal code replication: