microsoft / powercat-creator-kit

This toolkit helps create well-designed Power App experiences on the web & mobile. It contains a component library; PCF controls and other utilities that increase developer productivity.
MIT License
312 stars 51 forks source link

[BUG]: Fluent people picker reset or preselect based on record #386

Closed JamesReginald closed 7 months ago

JamesReginald commented 1 year ago

Describe the bug Regarding the fluent peoplepicker (1.0.22). We are trying to implement this component but we cannot get the component to reset i.e. empty the selectedPeople or prefill the selectedPeople based on a selected record.

To Reproduce Steps to reproduce the behavior:

for the following properties selectedPeople, PreselectedUserCollection, UserCollection We tried :

  1. Clear action
  2. Set to Blank() or set to PreselectedData based on Selected record
  3. RemoveIf() or remove
  4. ...

Expected behavior An empty peoplepicker :D

AB#948

mwiecm commented 11 months ago

I would like to add that:

denise-msft commented 7 months ago

@JamesReginald can you please see the suggested workaround in #236? We will add this as a request to that existing item and closing this as duplicate, please feel free to reopen or post in the other item if the workaround does not work for you.