Skip to content

Commit bc585c5

Browse files
committed
Updated comment for CheckBoxHiddenInputRenderMode.EndOfForm to more specifically describe the behavior
1 parent ff77d17 commit bc585c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Mvc/Mvc.ViewFeatures/src/Rendering/CheckBoxHiddenInputRenderMode.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ public enum CheckBoxHiddenInputRenderMode
1919
Inline = 1,
2020

2121
/// <summary>
22-
/// Hidden input fields will be rendered for each checkbox at the bottom of the form element. Use this for default MVC behavior.
22+
/// Hidden input fields will be rendered for each checkbox at the bottom of the form element. This is the preferred render method and default MVC behavior.
23+
/// If <see cref="Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext.CanRenderAtEndOfForm"/> is <c>false</c>, will fall back on <see cref="Inline"/>.
2324
/// </summary>
2425
EndOfForm = 2
2526
}

0 commit comments

Comments
 (0)