p-password not working in diamond template

Post Reply
salsaking
Posts: 1
Joined: 11 Jun 2021, 10:44

14 Jun 2021, 15:44

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

merve7
Posts: 758
Joined: 12 Sep 2017, 10:44

16 Jun 2021, 09:31

Hi,
p-password tag is a new feature therefore, you need to upgrade to your PrimeNG version 11.3.0 or later.

Post Reply

Return to “Diamond - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests