{"action":"created","issue":{"url":"https://api.github.com/repos/shlomiassaf/angular2-modal/issues/268","repository_url":"https://api.github.com/repos/shlomiassaf/angular2-modal","labels_url":"https://api.github.com/repos/shlomiassaf/angular2-modal/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/shlomiassaf/angular2-modal/issues/268/comments","events_url":"https://api.github.com/repos/shlomiassaf/angular2-modal/issues/268/events","html_url":"https://github.com/shlomiassaf/angular2-modal/issues/268","id":195583296,"number":268,"title":"Empty modal","user":{"login":"nanthil","id":17752419,"avatar_url":"https://avatars.githubusercontent.com/u/17752419?v=3","gravatar_id":"","url":"https://api.github.com/users/nanthil","html_url":"https://github.com/nanthil","followers_url":"https://api.github.com/users/nanthil/followers","following_url":"https://api.github.com/users/nanthil/following{/other_user}","gists_url":"https://api.github.com/users/nanthil/gists{/gist_id}","starred_url":"https://api.github.com/users/nanthil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanthil/subscriptions","organizations_url":"https://api.github.com/users/nanthil/orgs","repos_url":"https://api.github.com/users/nanthil/repos","events_url":"https://api.github.com/users/nanthil/events{/privacy}","received_events_url":"https://api.github.com/users/nanthil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-14T16:45:24Z","updated_at":"2016-12-17T03:06:58Z","closed_at":null,"body":"* **I'm submitting a ...**\r\n[x ] bug report\r\n[ ] feature request\r\n[ ] question about the decisions made in the repository\r\n\r\n* **Do you want to request a *feature* or report a *bug*?**\r\n\r\nBug\r\n\r\n* **What is the current behavior?**\r\n\r\nModal has no content/modal template doesn't render\r\n\r\nNo console errors\r\n\r\n* **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal \r\n\r\nThis component is wired into a number of other components and is being reused all over the site. Make a minimal recreation on plunkr isn't possible. This is the component at its most basic. The modal opens, but there is no content. Nothing inside. If I open dev tools and \"edit as html\" there is conent in the modal. \r\n\r\nThe defaultOverlay is set in my app component template. \r\n\r\nBasic functionality, I need the component, if active, allow a click event. Hence the renderer.listen()\r\n\r\nHowever, the template in the modal alert doesn't render, and gives me an empty template. \r\n\r\nYES I HAVE BOOTSTRAP STYLE IN MY INDEX.HTML\r\n\r\n```\r\nexport class EquipmentComponent{\r\n    @Input() isActive: boolean;\r\n    @Input() equipment: any;\r\n    @Input() width: number;\r\n    height: number;\r\n    name: string;\r\n    equipmentImg : any;\r\n    transferData: Object;\r\n    constructor(\r\n        private el: ElementRef, \r\n        private rend: Renderer,\r\n        private vcRef: ViewContainerRef,\r\n        overlay: Overlay, \r\n        public modal: Modal){\r\n      \r\n    }\r\n    ngOnInit() {\r\n        this.name = this.equipment.name;\r\n        this.equipmentImg = this.equipment.imgUrl;\r\n        this.height = this.equipment.height * 12;\r\n        console.log(this.isActive);\r\n\r\n        //data transfers on drop\r\n        this.transferData = {\r\n            e: this.equipment, \r\n            w: this.width\r\n        }\r\n        if(this.isActive){\r\n            this.rend.listen(this.el.nativeElement, 'click', () => {\r\n                this.openConfig();\r\n            })\r\n        }\r\n    }\r\n    openConfig(){\r\n          this.modal.alert().size('lg').showClose(true).title('A simple Alert style modal window')\r\n        .body(`\r\n            <h4>Alert is a classic (title/body/footer) 1 button modal window that \r\n            does not block.</h4>\r\n            <b>Configuration:</b>\r\n            <ul>\r\n                <li>Non blocking (click anywhere outside to dismiss)</li>\r\n                <li>Size large</li>\r\n                <li>Dismissed with default keyboard key (ESC)</li>\r\n                <li>Close wth button click</li>\r\n                <li>HTML content</li>\r\n            </ul>`)\r\n        .open();\r\n    }\r\n\r\n}\r\n```\r\n* **What is the expected behavior?**\r\n\r\nI just want the basic demo template to render, but i'm getting an empty modal.\r\n\r\n\r\n\r\n* **Please tell us about your environment:**\r\n\r\nAngular 2.0.0 official \r\n\r\nElectron\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/shlomiassaf/angular2-modal/issues/comments/267739110","html_url":"https://github.com/shlomiassaf/angular2-modal/issues/268#issuecomment-267739110","issue_url":"https://api.github.com/repos/shlomiassaf/angular2-modal/issues/268","id":267739110,"user":{"login":"shlomiassaf","id":5377501,"avatar_url":"https://avatars.githubusercontent.com/u/5377501?v=3","gravatar_id":"","url":"https://api.github.com/users/shlomiassaf","html_url":"https://github.com/shlomiassaf","followers_url":"https://api.github.com/users/shlomiassaf/followers","following_url":"https://api.github.com/users/shlomiassaf/following{/other_user}","gists_url":"https://api.github.com/users/shlomiassaf/gists{/gist_id}","starred_url":"https://api.github.com/users/shlomiassaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlomiassaf/subscriptions","organizations_url":"https://api.github.com/users/shlomiassaf/orgs","repos_url":"https://api.github.com/users/shlomiassaf/repos","events_url":"https://api.github.com/users/shlomiassaf/events{/privacy}","received_events_url":"https://api.github.com/users/shlomiassaf/received_events","type":"User","site_admin":false},"created_at":"2016-12-17T03:06:58Z","updated_at":"2016-12-17T03:06:58Z","body":"I can't really figure out what happens without examples.\r\n\r\nDo you get any console error?\r\nThe body is TEXT only, not HTML, do you get the text inside?"}}
{"actor":{"display_login":"shlomiassaf"}}