DataAnnotationsValidator.EnableClientValidation Propriété

Définition

Obtient ou définit si les attributs de validation côté client (data-val-*) doivent être émis sur les composants d’entrée de ce formulaire. La valeur par défaut est true.

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

Valeur de propriété

Attributs

S’applique à