From 8e20dcabaf87392d8c409f0e4ec40a7c36137a57 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Tue, 12 Nov 2024 06:49:54 -0500 Subject: [PATCH] Form name attribute coverage --- aspnetcore/blazor/forms/binding.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/aspnetcore/blazor/forms/binding.md b/aspnetcore/blazor/forms/binding.md index c902c3fe4324..83f4a1237878 100644 --- a/aspnetcore/blazor/forms/binding.md +++ b/aspnetcore/blazor/forms/binding.md @@ -464,6 +464,15 @@ To use the preceding component in the [starship example form (`Starship3.razor`/ + ``` +If the component that inherits from is ever statically rendered, assign the property to the `name` attribute of `` elements: + +```razor + +``` + +The preceding assignment isn't necessary if the component is guaranteed to always render interactively. + ### Input component with full developer control The following example component: