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

Error: [$compile:missingattr] Attribute 'alphabetcolors' of 'ngLetterAvatar' is non-optional and must be set! #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pablorsk
Copy link

@pablorsk pablorsk commented Oct 4, 2017

Problem:

On AngularJS 1.6.6 is possible set strictComponentBindingsEnabled to true. If we do this, we receive this error on browser console:

Error: [$compile:missingattr] Attribute 'alphabetcolors' of 'ngLetterAvatar' is non-optional and must be set!

ngletteravatar has default values for alphabetcolors, then alphabetcolors can be optional.

screenshot376

alphabetcolors on projects with strictComponentBindingsEnabled(true) fixed

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

Successfully merging this pull request may close these issues.

1 participant