{"action":"created","issue":{"url":"https://api.github.com/repos/surveyjs/surveyjs/issues/843","repository_url":"https://api.github.com/repos/surveyjs/surveyjs","labels_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/843/labels{/name}","comments_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/843/comments","events_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/843/events","html_url":"https://github.com/surveyjs/surveyjs/issues/843","id":284072696,"number":843,"title":"Add expand/collapse for Panel","user":{"login":"andrewtelnov","id":5655108,"avatar_url":"https://avatars0.githubusercontent.com/u/5655108?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewtelnov","html_url":"https://github.com/andrewtelnov","followers_url":"https://api.github.com/users/andrewtelnov/followers","following_url":"https://api.github.com/users/andrewtelnov/following{/other_user}","gists_url":"https://api.github.com/users/andrewtelnov/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewtelnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewtelnov/subscriptions","organizations_url":"https://api.github.com/users/andrewtelnov/orgs","repos_url":"https://api.github.com/users/andrewtelnov/repos","events_url":"https://api.github.com/users/andrewtelnov/events{/privacy}","received_events_url":"https://api.github.com/users/andrewtelnov/received_events","type":"User","site_admin":false},"labels":[{"id":576919595,"url":"https://api.github.com/repos/surveyjs/surveyjs/labels/Implemented","name":"Implemented","color":"006b75","default":false},{"id":247746345,"url":"https://api.github.com/repos/surveyjs/surveyjs/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-22T05:00:01Z","updated_at":"2018-03-12T09:56:57Z","closed_at":"2017-12-30T06:58:01Z","author_association":"OWNER","body":"Add property panel.state: string, where 3 options are available, \"default\", \"expanded\", \"collapsed\".\r\nWhen the state is collapsed then only a panel caption (title + expand/collapse button) is rendered.\r\nWhen the state is expanded a panel caption contains the collapse button except panel title.\r\nTwo new methods should be added into panel: collapse() and expand().\r\nIf the panel is collapsed, but there a validation errors in it's questions then the panel should be expanded automatically."},"comment":{"url":"https://api.github.com/repos/surveyjs/surveyjs/issues/comments/372252914","html_url":"https://github.com/surveyjs/surveyjs/issues/843#issuecomment-372252914","issue_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/843","id":372252914,"user":{"login":"nicklas669","id":4216390,"avatar_url":"https://avatars1.githubusercontent.com/u/4216390?v=4","gravatar_id":"","url":"https://api.github.com/users/nicklas669","html_url":"https://github.com/nicklas669","followers_url":"https://api.github.com/users/nicklas669/followers","following_url":"https://api.github.com/users/nicklas669/following{/other_user}","gists_url":"https://api.github.com/users/nicklas669/gists{/gist_id}","starred_url":"https://api.github.com/users/nicklas669/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicklas669/subscriptions","organizations_url":"https://api.github.com/users/nicklas669/orgs","repos_url":"https://api.github.com/users/nicklas669/repos","events_url":"https://api.github.com/users/nicklas669/events{/privacy}","received_events_url":"https://api.github.com/users/nicklas669/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T09:56:57Z","updated_at":"2018-03-12T09:56:57Z","author_association":"NONE","body":"Hi @andrewtelnov, is it possible to add a state that disables the collapse/expand feature somehow? I just want to have a section that can not be clicked to collapse/expand.\r\n\r\nThanks in advance,\r\nNicklas"}}
{"actor":{"display_login":"nicklas669"}}