HtmlHelperOptions.FormInputRenderMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.