<p-auto-complete> behaves differently than <p-autocomplete> #17535
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
I assumed that
<p-autocomplete>
and<p-auto-complete>
are interchangeable, the output is the same. However that's not true, because there are some stylings explicitly added forp-autocomplete
but not forp-auto-complete
. An example is for that is the invalid state as showcased in this Stackblitz demo.Pull Request Link
No response
Reason for not contributing a PR
Other Reason
Not sure what is PrimeNG's approach for supporting components with multiple selectors.
Reproducer
https://stackblitz.com/edit/cnhmocdx
Environment
Just a regular environment.
Angular version
19
PrimeNG version
v19
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
<p-auto-complete>
component with an invalid form controlExpected behavior
I would expect an error border similar to
<p-autocomplete>
.The text was updated successfully, but these errors were encountered: