I have a model which has a field called
public DateTime birthday {get ; set; } = DateTime.Today;
public int age = 0;
My Razor file
<div class="wrap-input100 validate-input">
<InputDate class="input100" id="birthday" @bind-value="CurrentCustomerModel.birthday" />
</div>
so what I am trying to do is some front end validation. If the person is less than 50 years old, I want to display a message saying "Sorry you are too young" (or anything).