{"action":"opened","issue":{"url":"https://api.github.com/repos/SharePoint/sp-dev-fx-property-controls/issues/85","repository_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-property-controls","labels_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-property-controls/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-property-controls/issues/85/comments","events_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-property-controls/issues/85/events","html_url":"https://github.com/SharePoint/sp-dev-fx-property-controls/issues/85","id":346488360,"node_id":"MDU6SXNzdWUzNDY0ODgzNjA=","number":85,"title":"PropertyPaneMultiSelect","user":{"login":"harshdamaniahd","id":11780473,"node_id":"MDQ6VXNlcjExNzgwNDcz","avatar_url":"https://avatars1.githubusercontent.com/u/11780473?v=4","gravatar_id":"","url":"https://api.github.com/users/harshdamaniahd","html_url":"https://github.com/harshdamaniahd","followers_url":"https://api.github.com/users/harshdamaniahd/followers","following_url":"https://api.github.com/users/harshdamaniahd/following{/other_user}","gists_url":"https://api.github.com/users/harshdamaniahd/gists{/gist_id}","starred_url":"https://api.github.com/users/harshdamaniahd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshdamaniahd/subscriptions","organizations_url":"https://api.github.com/users/harshdamaniahd/orgs","repos_url":"https://api.github.com/users/harshdamaniahd/repos","events_url":"https://api.github.com/users/harshdamaniahd/events{/privacy}","received_events_url":"https://api.github.com/users/harshdamaniahd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-01T07:55:43Z","updated_at":"2018-08-01T07:55:43Z","closed_at":null,"author_association":"NONE","body":"The problem is the once i set the values and then save the changes, the next time when i open the webpart configuration the multiselect values are not retained.\r\n\r\n```\r\n\r\n                PropertyFieldMultiSelect('selectedColumns', {\r\n                  key: 'selectedColumns',\r\n                  label: \"Multi select field\",\r\n                  options: this.ddlColumnOptions,\r\n                  selectedKeys: this.properties.selectedColumns\r\n                })\r\n```\r\nHere is the screen shot , the value for normal dropdown are retained.But it is not working for multiselect\r\n\r\n![image](https://user-images.githubusercontent.com/11780473/43508713-4b67b78c-958e-11e8-871e-abc96a623c36.png)\r\n\r\nCode on start : \r\n```\r\n\r\n  protected async onPropertyPaneConfigurationStart(): Promise<any> {\r\n    debugger;\r\n    let lists:IPropertyPaneDropdownOption[]=await this.getAllList();\r\n    this.ddlListOptions=lists;\r\n    this.render();\r\n    this.context.propertyPane.refresh();\r\n    let views:IPropertyPaneDropdownOption[]=await this.getAllViews()\r\n    this.ddlViewOptions=views;\r\n    this.render();\r\n    this.context.propertyPane.refresh();\r\n    let columns:IPropertyPaneDropdownOption[]=await this.loadColumns();\r\n    this.ddlColumnOptions=columns;\r\n    this.render();\r\n    this.context.propertyPane.refresh();\r\n  }\r\n```"}}
{"actor":{"display_login":"harshdamaniahd"}}