DataAnnotationsValidator.DisableClientValidation 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 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