rpgkaiser / FoolProof.Core

Migration to asp.net core of the "MVC Foolproof Validation" library.
MIT License
53 stars 17 forks source link

Fixes issue 35 - Server-side validation failure not honoring [Display] attribute #38

Closed KenBrannigan closed 1 year ago

KenBrannigan commented 1 year ago

Fixes ModelAwareValidationAttribute protected IsValid method to use validationContext.DisplayName instead of validationContext.MemberName