How to Clear PeoplePicker Items In single click

时间:2019-02-24 03:15:07

标签: office-ui-fabric

I have requirement such that I should showup the peoplepicker (UI fabric control) with some input fields. I have to pass this items to api. after that I have to clear all the Items in the input fields and people picker fields. I can clear input fields but I was unable to clear the items in peoplepicker. please suggest.

 <ListPeoplePicker onResolveSuggestions={null} key={"list"} onValidateInput={this.onValidateInput}
 defaultSelectedItems={this.selectedItemsList} onChange={this.onSelectedItemsListChange} />

0 个答案:

没有答案