# What would it take to allow two user-selectors in one form?

**URL:** https://meta.discourse.org/t/what-would-it-take-to-allow-two-user-selectors-in-one-form/113615
**Category:** Development
**Created:** [4월 6, 2019, 5:13오전 UTC](https://meta.discourse.org/t/what-would-it-take-to-allow-two-user-selectors-in-one-form/113615 "2019-04-06T05:13:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dannii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dannii/32/129087_2.png) [@Dannii](https://meta.discourse.org/u/Dannii)
#### Post date: [4월 6, 2019, 5:13오전 UTC](https://meta.discourse.org/t/what-would-it-take-to-allow-two-user-selectors-in-one-form/113615/1 "2019-04-06T05:13:12Z")

</div>

It seems that the user-selector component cannot be used more than once in a form. They both get given a `name` attribute of `user-selector-renamed`, but if you try to change the value of the second then it refreshes the page.

I tried manually setting the `name` property of each component (with no `usernames` property), and both are now useable, though I don’t think it updates the model/controller. The `name` attributes of the elements are now `undefined-renamed` and `<(unknown):ember53>-renamed`.

I’d find it very useful for a plugin to be able to have multiple user-selectors in one form. Could the component be modified to more safely allow this? It should also be possible to have labels associated with the input elements. (I don’t think this happens currently even if you only have one.)

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [8월 9, 2019, 4:13오후 UTC](https://meta.discourse.org/t/what-would-it-take-to-allow-two-user-selectors-in-one-form/113615/2 "2019-08-09T16:13:11Z")

</div>

Did you make any progress? I have a feeling a “user **s** -selector” would be better than "user-selector"s, but maybe not?

---

<div class="post-metadata">

### Author: ![Dannii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dannii/32/129087_2.png) [@Dannii](https://meta.discourse.org/u/Dannii)
#### Post date: [8월 10, 2019, 12:45오전 UTC](https://meta.discourse.org/t/what-would-it-take-to-allow-two-user-selectors-in-one-form/113615/3 "2019-08-10T00:45:38Z")

</div>

No, I gave up using the component and manually verified the users.
