在一个表单中允许两个用户选择器需要哪些条件?

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.)

你有任何进展吗?我觉得“用户选择器”(users-selector)可能比“用户选择器”(user-selectors)更好,但也未必?

不,我放弃了使用该组件,而是手动验证了用户。