'.Net Core Razor page not displaying error message for ModelView

In my .Net core application I have setup Fluent validation and a class that has basic validation. I see these validation messages being fetched to the generated HTML when I inspect each element. I don't understand why the error message is not showing up underneath the respective fields.

The Validations messages get fetched to data-val-required etc.. but doesn't display as an error

Controller that checks for the model state

.cshtml file that generates the UI with tag helpers



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source