p-password not working in diamond template
Posted: 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
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