You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Components/Form/IFormComponent.cs

16 lines
406 B

2 years ago
namespace Connected.Components;
public interface IFormComponent
{
public bool Required { get; set; }
public bool Error { get; set; }
public bool HasErrors { get; }
public bool Touched { get; }
public object Validation { get; set; }
public bool IsForNull { get; }
public List<string> ValidationErrors { get; set; }
public Task Validate();
public void Reset();
public void ResetValidation();
}