Language

DataAnnotationsValidator.DisableClientValidation Property

Definition

Gets or sets whether client-side validation rules are suppressed for this form. When false (the default), the framework includes the validation rules for the form's model in the rendered HTML so user errors can be reported without a round trip to the server. When true, only server-side validation runs.

[Microsoft.AspNetCore.Components.Parameter]
public bool DisableClientValidation { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.DisableClientValidation : bool with get, set
Public Property DisableClientValidation As Boolean

Property Value

Attributes

Applies to