-
Notifications
You must be signed in to change notification settings - Fork 133
Getting error on modal.open(): this.$modal.appendTo(...).modal is not a function #17
Comments
I haven't had any luck with angular beta.11, you might try beta.9 and see if it works from there. If not, let me know, I might've missed something on my most recent release. (I rewrote a bunch of stuff) |
rolling back to beta.9 shows the modal, and lets the default save button work. However, pressing the cancel button on the example form causes this error:
This seems to happen on any second opening of the modal, then trying to click any of the buttons or close icon. |
Odd... I've only seen the "Task does not support cancellation, or is already canceled." error on versions above beta.9. The demo is using beta.9 and doesn't throw that error on close. I wonder what could be different. When you downgraded your angular version to beta.9 did you also downgrade your zone.js to 0.5.15? I think beta.12 relies on 0.6.5 and the "Task does not support cancellation, or is already canceled." error is related to zone.js. |
Aww yes the magical dance of version matching.. downgrading zone.js to 5.15 worked. to close this out final versions used with this version: 0.4.2
Thanks |
I'm getting this too.
|
|
@nikkwong what version of ng2-bs3-modal are you using? |
No response, closing issue. |
Please open a new issue if you are still experiencing problems. |
having same issue
with angular-cli any ideas? |
I took the example given on the code tab, and an getting an error
Current Versions:
Code is as follows
Component:
View:
Any help would be great
The text was updated successfully, but these errors were encountered: