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

**URL:** <https://community.developer.atlassian.com/t/ui-kit-2-userpicker-component-unable-to-select-a-user-when-ismultiple-is-passed/76899>\
**Category:** Forge UI Kit and Custom UI\
**Tags:** forge-ui-kit-2\
**Created:** [February 4, 2024, 10:23am UTC](https://community.developer.atlassian.com/t/ui-kit-2-userpicker-component-unable-to-select-a-user-when-ismultiple-is-passed/76899 "2024-02-04T10:23:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BartekPiea](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@BartekPiea](https://community.developer.atlassian.com/u/BartekPiea)\
**Post date:** [February 4, 2024, 10:23am UTC](https://community.developer.atlassian.com/t/ui-kit-2-userpicker-component-unable-to-select-a-user-when-ismultiple-is-passed/76899/1 "2024-02-04T10:23:09Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![BertrandDrouhard1](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/bertranddrouhard1/32/49835_2.png) [@BertrandDrouhard1](https://community.developer.atlassian.com/u/BertrandDrouhard1)\
**Post date:** [February 5, 2024, 2:17pm UTC](https://community.developer.atlassian.com/t/ui-kit-2-userpicker-component-unable-to-select-a-user-when-ismultiple-is-passed/76899/2 "2024-02-05T14:17:11Z")

</div>

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.
