Page 1 of 1

p-password not working in diamond template

Posted: 14 Jun 2021, 15:44
by salsaking
Hi,

I just installed the diamond template and had a look at the login-form page (pages/login).
If I however change one of the input tags to p-password I get the following error:

Error: src/app/pages/app.login.component.html:11:17 - error NG8001: 'p-password' is not a known element:
1. If 'p-password' is an Angular component, then verify that it is part of this module.
2. If 'p-password' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message

this normally occurs when the module that contains the directive is not imported.
However the Password module is imported in the AppModule so I'm not sure what I'm missing here.

Any ideas or pointers?

thx

Re: p-password not working in diamond template

Posted: 16 Jun 2021, 09:31
by merve7
Hi,
p-password tag is a new feature therefore, you need to upgrade to your PrimeNG version 11.3.0 or later.