0
smwasimraja@gmail.com created
Can't bind to 'abpPermission' since it isn't a known property of 'button' (used in the 'ListReviewComponent' component template).
- If 'button' is an Angular component and it has the 'abpPermission' input, then verify that it is a part of an @NgModule where this component is declared.
- To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.
i need dependency injection
<button (click)="addapp()" *abpPermission="'AccessReviews.create'">+ Create Review Campaign</button>
above button doesnt showing
3 Answer(s)
-
0
Hello, you need to import
PermissionDirective
to the related module or the component if it is standalone. Let me know if you need further assistance on that. -
0
-
0