Text not showing when peopleSuggestions are changed
Bug Report
- Package version(s): 2.22.1
- Browser and OS versions: All
Describe the issue:
I have a component that fetches (with redux) the users from a server when the component mounted. The defaultSelected is then picked out of this array of PersonaProps.
But, when the data is loaded, the default selected values are shown as empty boxes in the peoplePicker.
Do your results/default selected have the primaryText set? Only time I've seen an empty box was when the object did not have the required keys set.
I'm working on a project that has a people picker (pulling from SP) and just verified it's working correctly on the latest version of fabric react.
Here is an example of a default result that is working: public managementServicesAdministrator: IPersonaProps[] = [ { imageInitials: 'FL', primaryText: 'Last, First', secondaryText: '[email protected]', tertiaryText: 'In a meeting', optionalText: 'Available at 4:00pm', presence: PersonaPresence.online } ];
@HannesDel if you're still facing the problem, would it be possible to create a Codepen to demonstrate the problem?
Closing because there hasn't been any response from author. Please reopen if this issue still occurs.