2

I have build a web part using SharePoint framework with SharePoint generator version 1.3.4 with dropdown multiselect=true in UI and then updated it to version 1.6.0 now the dropdown is not working. (Checkbox are not reflecting checked and unchecked actions in the UI).

<div className={styles.column2}> <Dropdown label="Core Values" placeHolder="Select Core Values" options= {this.state.coreChoices} multiSelect={true} selectedKeys={coreValues} onChanged={this.onCoreValueChange} /> </div>

Can anyone help me out with this issue? Thanks!

  • Can you put a breakpoint on the Dropdown and confirm that this.state.coreChoices and coreValues have valid values? – Derek Gusoff Nov 24 '18 at 19:51
  • I have added this.forceUpdate() inside onCoreValuechange function. and it worked for me. – Arzoo Soni Dec 22 '18 at 12:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.