-
Notifications
You must be signed in to change notification settings - Fork 148
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
zone.js:355 Unhandled Promise rejection: Template parse errors #115
Comments
+1 |
Same here, is it something new with angular? |
Yeah, Dont know. Nothing mentioed in DOC. |
Anyway the |
And also how do I change the modal size? I needed small login modal. |
Probably with a class on the modal |
Can you please provide any sample block code? |
|
Thanks, the Is anyone knows how to open the modal from angular conponent method. I mean I can provide a method name in |
In your template
in your component
|
Thanks, Its working. |
How to pass Like I want to bind the modal inside the *ngFor loop and want to show dynamic data in modal. |
@anil1712 the modal is in the same scope as the main template, so you can use the same values you use in the component that includes the modal, otherwise, if you create a custom component for the modal, you pass data the same way you do with any other component |
Hi @alex88 , I have created new component for modal. So I need to share data from one component to another. I am using Thanks, |
Me too, so I don't really know what's the best way, maybe using input/outputs https://angular.io/docs/ts/latest/cookbook/component-communication.html |
Hi,
I am using modal code as per the DOC, but getting below exception.
'modal-content' is not a known element:
<sm-modal title="MyForm" #MyForm>
[ERROR ->]
<form class="ui large form" (ngSubmit)="onSubmit()" #loginForm="ngForm" nova"): BannerHeaderComponent@26:4 ; Zone: ; Task: Promise.then ; Value: Error: Template parse errors:(…) Error: Template parse errors:
'modal-content' is not a known element:
The text was updated successfully, but these errors were encountered: