The interface that a validator component must implement in order to be supported by RadzenTemplateForm<T>.
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public interface IRadzenFormValidatorGets or sets the name of the component which is validated.
public string Component { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the name of the component which is validated. |
Returns true if valid.
public bool IsValid { get; }
| Type | Description |
|---|---|
| bool | Returns true if valid. |
Gets or sets the validation error displayed when invalid.
public string Text { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the validation error displayed when invalid. |