0

How does have Fluent React's TagPicker component (https://developer.microsoft.com/en-us/fluentui#/controls/web/pickers) render existing tags. I've tried passing in with input and value props, with no luck. E.g.:

<TagPicker value={[{"key": "a", name: "A Tag"}]}/>
payneio
  • 407
  • 3
  • 7

1 Answers1

1

Needed to use defaultSelectedItems, e.g.:

<TagPicker defaultSelectedItems={[{"key": "a", name: "A Tag"}]}/>
payneio
  • 407
  • 3
  • 7