IClientValidationService.GetClientValidationAttributes Method
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 the data-val-* HTML attributes for a form field.
Returns null if no validation attributes apply.
public System.Collections.Generic.IReadOnlyDictionary<string,object>? GetClientValidationAttributes(Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier);
abstract member GetClientValidationAttributes : Microsoft.AspNetCore.Components.Forms.FieldIdentifier -> System.Collections.Generic.IReadOnlyDictionary<string, obj>
Public Function GetClientValidationAttributes (fieldIdentifier As FieldIdentifier) As IReadOnlyDictionary(Of String, Object)
Parameters
- fieldIdentifier
- FieldIdentifier