-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
area-System.ComponentModel.DataAnnotationsblocking-releaselinkable-frameworkIssues associated with delivering a linker friendly frameworkIssues associated with delivering a linker friendly framework
Milestone
Description
I'm using DataAnnotationsValidator in my Blazor Webassembly application together with ValidationMessage component. The validated property has a Required attribute applied with no custom validation message. In version 3.2, there was a default validation message appearing, saying that this field is required. After upgrading to .net 5 RC1, the default message was replaced by some kind of placeholder (see image).
Note that this behavior occurs only when the application is published as production. When running in development mode in Visual Studio, the default validation message appears correctly.
The default validation message is also broken for other attributes (tested with Range).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.ComponentModel.DataAnnotationsblocking-releaselinkable-frameworkIssues associated with delivering a linker friendly frameworkIssues associated with delivering a linker friendly framework
