Open UdhayaKumarDuraisamy opened 1 week ago
Thanks for contacting us. The ValidateComplexType
attribute comes from an experimental package that isn't supported. We don't know if that's the cause of the issue here or something else, so for now we'll keep this issue for investigation.
Is there an existing issue for this?
Describe the bug
I am experiencing an issue with custom validation in a Blazor
EditForm
when using a nested object model. While theValidationSummary
displays errors correctly, theValidationMessage
components for nested properties do not show the validation errors as expected.Code Snippet:
Expected Behavior
Validation messages should be displayed for all properties, including those in nested objects, alongside the
ValidationSummary
.Actual Behavior: Validation messages for nested properties do not appear, even though the
ValidationSummary
lists the errors.Steps To Reproduce
EditForm
with a model that includes nested objects.Exceptions (if any)
No response
.NET Version
DotNET 8
Anything else?
No response