Hello,
I created some custom component and added them to a shared module.
To use my custom components, I simply import the shared module into the module of the page where I want to use them.
It works fine everywhere except in modals.
When I try to use a custom component on the shared module in a Modal, I get this error:
compiler.js:2175 Uncaught Error: Template parse errors:
Can't bind to 'fetch' since it isn't a known property of 'app-cloud-update-chip'.
1. If 'app-cloud-update-chip' is an Angular component and it has 'fetch' input, then verify that it is part of this module.
2. If 'app-cloud-update-chip' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
I use modals like this:
const modal = await this.modalController.create({
component: CloudSearchPage,
componentProps: {
cloud: this.cloud
}
});
What am I missing?