-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't bind to 'colorPicker' since it isn't a known property of 'input' #105
Comments
Same here |
try to put ColorPickerModule to exports, example => exports: [ColorPickerModule] |
try to put ColorPickerModule to exports, example => exports: [ColorPickerModule] |
I am getting the same issue. |
|
But since morning it's not working I have imported will check by both
import and export
nothing its not working actually the issue is I have not add map in system.config.js file because I am not able to find that file in my project ionic 3 angular 2
|
You use this plugin for mobile app or web? |
I have checked on web and on mobile also it was working but don't know why I am getting error now whenever I include this ColorPickerModule in module.ts |
Did anyone got this? not working even after adding to exports |
I am not, I remember that there is another plugin like this, I think it's more stable. |
https://www.npmjs.com/package/ct-angular2-color-picker |
You need to define a shared module and export ColorPickerModule
|
Try ngx-color-picker, this work with AOT as well, you have to export the ColorPickerModule , if you want to use colorpicker outside the current module. |
Event exporting the shared module didn't work
…On Thu, Jun 29, 2017 at 12:17 PM, Assaf Liebstein ***@***.***> wrote:
You need to define a shared module and export ColorPickerModule
import { ColorPickerModule } from 'ngx-color-picker';
@NgModule({
imports: [
CommonModule,
ColorPickerModule
],
exports: [
CommonModule,
ColorPickerModule
],
declarations: [],
providers: []
})
export class SharedModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: SharedModule
};
}
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#105 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKjZcUy6GCeKcsG8vBrTv60b_lGLFtHtks5sI0h5gaJpZM4NFW1s>
.
--
--
*Thanks & Regards <https://www.facebook.com/sprinklingstar>*
Gopi Malla
Senior Software Developer
*Gybshot Sports Solutions Pvt. Ltd. (Playcer)*
playcer.in <http://www.autoninja.in/>
-------------------------------
+91 8884637275
+91 9866199337
www.linkedin.com/in/gopi-malla-58347462
-------------------------------
|
I tried export option as well but getting the same error. Can anyone please provide me the solution of this problem. |
Any update on this issue? I also tried the export option both in current module and app.module.ts. Same issue in both the cases. |
I have the same problem with Angular 15. |
Having the same problem. did you solve it? |
The same when migrating from angular 14 to 15. |
Just followed the instructions given. I am getting the following error while loading my page.
<input [(colorPicker)]="color" [style.background]="color" [value]="color"/>
Can't bind to 'colorPicker' since it isn't a known property of 'input'
Angular 2 version: 2.4.7
The text was updated successfully, but these errors were encountered: