{"action":"closed","issue":{"url":"https://api.github.com/repos/angular-slider/ng5-slider/issues/30","repository_url":"https://api.github.com/repos/angular-slider/ng5-slider","labels_url":"https://api.github.com/repos/angular-slider/ng5-slider/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/angular-slider/ng5-slider/issues/30/comments","events_url":"https://api.github.com/repos/angular-slider/ng5-slider/issues/30/events","html_url":"https://github.com/angular-slider/ng5-slider/issues/30","id":372479892,"node_id":"MDU6SXNzdWUzNzI0Nzk4OTI=","number":30,"title":"Ceil value not initialize for dynamic dom?","user":{"login":"nive745","id":17614227,"node_id":"MDQ6VXNlcjE3NjE0MjI3","avatar_url":"https://avatars0.githubusercontent.com/u/17614227?v=4","gravatar_id":"","url":"https://api.github.com/users/nive745","html_url":"https://github.com/nive745","followers_url":"https://api.github.com/users/nive745/followers","following_url":"https://api.github.com/users/nive745/following{/other_user}","gists_url":"https://api.github.com/users/nive745/gists{/gist_id}","starred_url":"https://api.github.com/users/nive745/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nive745/subscriptions","organizations_url":"https://api.github.com/users/nive745/orgs","repos_url":"https://api.github.com/users/nive745/repos","events_url":"https://api.github.com/users/nive745/events{/privacy}","received_events_url":"https://api.github.com/users/nive745/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-22T11:17:20Z","updated_at":"2018-10-23T08:59:51Z","closed_at":"2018-10-23T08:59:51Z","author_association":"NONE","body":"I put ng5-slider to dynamic popup bootstrap popup. When i open popup i assign ceil value to slider. But it's not taking. When i change slider value then it will show value.\r\n\r\n```\r\n<ng-template #content let-modal>\r\n <ng5-slider [(value)]=\"CurrentObj.Selection\" [options]=\"options\" ></ng5-slider>\r\n</ng-template>\r\n```\r\n\r\nOn model open i assign value to slider like\r\n\r\n```\r\nonDrop(dropData: DropEvent<String>, period, passday): Boolean {\r\n        const day = (passday === 1) ? this.Day : passday;\r\n        if (!this.postobject.ActivityId) {\r\n            alert('Please select activity.');\r\n            return false;\r\n        }\r\n        \r\n\r\n        const capacity = dropData['GroupCapacity'];\r\n        if (parseInt(capacity, 10) > 0) {\r\n            this.open(this.content);\r\n            this.CurrentObj.GroupName = dropData['GroupName'];\r\n            this.CurrentObj.GroupIndex = this.groupslist.map((o) => o.Id).indexOf(dropData['Id']);\r\n            this.options = {floor: 0, ceil: capacity};\r\n            this.CurrentObj.Selection = 0;\r\n            this.CurrentObj.period = period;\r\n            this.CurrentObj.day = day;\r\n            this.CurrentObj.capacity = dropData['GroupCapacity'];\r\n            console.log(this.CurrentObj);\r\n        } else {\r\n            alert('This group is full');\r\n        }\r\n     }\r\n```"}}
{"actor":{"display_login":"nive745"}}