UI Kit 2 UserPicker Component - unable to select a user when 'isMultiple' is passed

Hi,

I’m currently building a new plugin and encountering an issue with the component.

Everything works fine until I pass the isMulti prop to the UserPicker component.

When isMulti is set, it’s not possible to select any user. Does anyone have the same issue as me? Maybe there’s a bug, or I’m doing something wrong. Here’s a sample of my code

<UserPicker
  isMulti 
  label="Users"
  name="users"
  onChange={(user) => someFn()}
/>
1 Like

Hi,
It seems to be a bug: I have the exact same behiaviour. As soon as I add the isMulti prop, it becomes impossible to select a user. Even if it is "isMulti=“0”.
I think there is also a bug when you want to unselect the previously selected user: the user stays selected.