We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unhandled Promise rejection: Template parse errors: Can't bind to 'footerClass' since it isn't a known property of 'modal-footer'.
not working: @NgModule({ imports: [ CommonModule ], declarations: [ BSModalBackdrop, BSMessageModal, BSModalContainer, BSModalFooter ], providers: getProviders(), entryComponents: [ BSModalBackdrop, BSMessageModal ] })
@NgModule({ imports: [ CommonModule ], declarations: [ BSModalBackdrop, BSMessageModal, BSModalContainer, BSModalFooter ], providers: getProviders(), entryComponents: [ BSModalBackdrop, BSMessageModal ] })
working: @NgModule({ imports: [ CommonModule ], declarations: [ BSModalFooter, BSMessageModal, BSModalBackdrop, BSModalContainer ], providers: getProviders(), entryComponents: [ BSModalBackdrop, BSMessageModal ] })
@NgModule({ imports: [ CommonModule ], declarations: [ BSModalFooter, BSMessageModal, BSModalBackdrop, BSModalContainer ], providers: getProviders(), entryComponents: [ BSModalBackdrop, BSMessageModal ] })
@shlomiassaf please take a look at angular/angular#10618 - it's exactly the same
The text was updated successfully, but these errors were encountered:
Thank you, actually I ran into this today when I tried to minify the demo site.
I will get to it, thanks.
Sorry, something went wrong.
bcd4525
No branches or pull requests
[X ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
Minified bundle breaks with errors
Unhandled Promise rejection: Template parse errors:
Can't bind to 'footerClass' since it isn't a known property of 'modal-footer'.
run a minified version e.g. ng serve --prod
The minified bundle should work as in RC4
Suggestion how to fix:
I have changed the order of module declarations in bootstrap.module.ts and it worked for me
not working:
@NgModule({ imports: [ CommonModule ], declarations: [ BSModalBackdrop, BSMessageModal, BSModalContainer, BSModalFooter ], providers: getProviders(), entryComponents: [ BSModalBackdrop, BSMessageModal ] })
working:
@NgModule({ imports: [ CommonModule ], declarations: [ BSModalFooter, BSMessageModal, BSModalBackdrop, BSModalContainer ], providers: getProviders(), entryComponents: [ BSModalBackdrop, BSMessageModal ] })
@shlomiassaf
please take a look at angular/angular#10618 - it's exactly the same
The text was updated successfully, but these errors were encountered: