It doesn't look like client side inline validation is enabled by default when using the RAD tool to create an entity. Instead, the Save button on the modal form is greyed out and the user doesn't know which field to correct the error in.
3 Answer(s)
-
0
Hi @tomop
I think you are using ASP.NET & Core Angular version. This is AspNet Zero's default behaviour rather than RAD Tool actually.
-
0
Yes, I am suing ASP.NET Core & Angular. I used the RAD tool and noticed it didn't generate the <validation-messages> element in the <form-group>. All I had to do was add this element and then add #ContactFirstnameInput="ngModel" to the input element in order to get the page to show inline validation rules.
I am generally curious how to get clientside inline validation to work in this world as like you say, it doesn't seem to be enabled by default. But this isn't entirely true as it seems to work for some existing entities like the create user, but not all?
-
0
Created an issue here https://github.com/aspnetzero/aspnet-zero-core/issues/2066. Please follow this issue, we will implement it in a short time.