Share via


HtmlHelperOptions.FormInputRenderMode Property

Definition

Gets or sets a value that determines how form <input/> elements are rendered.

public Microsoft.AspNetCore.Mvc.Rendering.FormInputRenderMode FormInputRenderMode { get; set; }
member this.FormInputRenderMode : Microsoft.AspNetCore.Mvc.Rendering.FormInputRenderMode with get, set
Public Property FormInputRenderMode As FormInputRenderMode

Property Value

Remarks

Some form elements (e.g., <input type="text"/>) require culture-specific formatting and parsing because their values are directly entered by the user. However, other inputs (e.g., <input type="number"/>) use culture-invariant formatting both in the HTML source and in the form request.

Applies to