-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"There is no suitable arv-validation-message element to show the ... error of ..." #18
Comments
Could you provide a small example in the form of for example a StackBlitz? |
https://stackblitz.com/edit/angular-ivy-yzch5s?file=src/app/app.component.html I was able to find the problem. Apparently, using the Now I also found out that your library also takes care of highlighting Angular Material inputs in red if there is an error, even without using |
Thanks for your bug report. Glad you're able to continue. I overlooked the Thus, it's something I should look into at some point, as adding the |
Removing FormsModule in my real app also didn't change anything.
I agree. Would it be possible that the library even adds such HTML validation attributes by itself so it's not redundant? I think that would be a big win also. Thanks for your work! |
Hello,
I'm getting this error message in the console immediately after opening my page in the browser:
There is no suitable arv-validation-message element to show the 'required' error of 'description'
Controller:
Template:
I imported the module into my app module.
Adding
<arv-validation-message key="required">
tag manually works. But as said in the manual, that's not the point of the library.I use Angular 11.2.
Thanks in advance.
The text was updated successfully, but these errors were encountered: