DataAnnotationsValidator.EnableClientValidation 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置是否应在此表单中的输入组件上发出客户端验证属性(data-val-*)。 默认值为 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
属性值
- 属性