Skip to content
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

Upgrade to NG 2.0.2 (or 2.1.0-rc.0) causes: Unexpected value 'ColorPickerDirective' declared by the module 'AppModule' #44

Closed
gatapia opened this issue Oct 11, 2016 · 2 comments

Comments

@gatapia
Copy link

gatapia commented Oct 11, 2016

The last commit to angular2-color-picker (1.2.1) fixed NG 2 new module issues and webpack issues. However, the latest NG update (2.0.2) appears not to recognise the color picker.

I am using angular cli (webpack) for build.

@gatapia gatapia changed the title Upgrade to NG 2.0.2 (or 2.1.0-rc.0) causes expected value 'ColorPickerDirective' declared by the module 'AppModule' Upgrade to NG 2.0.2 (or 2.1.0-rc.0) causes: Unexpected value 'ColorPickerDirective' declared by the module 'AppModule' Oct 11, 2016
@PoppyPham
Copy link

I got this before, dont need declare ColorPickerDirective in AppModule, just import to your component.

Alberplz added a commit that referenced this issue Oct 20, 2016
New options added:
cpSaveClickOutside, cpOKButton, cpOKButtonClass, cpOKButtonText,
cpDialogDisplay, cpAlphaChannel
#13, #15, #32, #42, #44, #45, #46
@Alberplz
Copy link
Owner

There was a mistake in the docs. Updated in the last version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants