You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
validationService.For(....).AddRule(e =>e.FirstName,newStringRequiredRule(),new new RangeLengthRule(10,15)).OverrideErrorMessage((propertyName,rule)=>{if(propertyName==nameof(FirstName)){return$"First Name must be within ({FirstName.Length}/15)";}});
The text was updated successfully, but these errors were encountered:
Implement it something like below:
The text was updated successfully, but these errors were encountered: