AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

Blazor InputX component use outside of an EditContext/Form

Open guardrex opened this issue 3 years ago • 0 comments

Input{X} components are covered by the Forms and validation topic with a central focus on using them with an edit context (EditContext/EditForm) pre-7.0. We already have one Input{X} component in use outside of an edit context (InputFile). The rest should be useful outside of an edit context for 7.0 or later ...

  • Ideally we'd like to support the input controls existing outside an editcontext.

    per Steve at https://github.com/dotnet/aspnetcore/issues/27804#issuecomment-892070966.

  • Mackinnon furthered things (across the board?) with ...

    Blazor input component support when EditContext is not supplied https://github.com/dotnet/aspnetcore/pull/35640

    ... with the caveat on styling ...

    Validation styling won't be applied to input components without an EditContext.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

guardrex avatar Jul 18 '22 21:07 guardrex