Open elgg-gitbot opened 11 years ago
brettp wrote on 2012-04-10
Ran into this a few days ago. It's hard-coded to remove the inline JS. Options to allow passing in a name attribute:
Milestone changed to Elgg 1.8.x
by brettp on 2012-04-10
Title changed from Support multiple userpickers in one form
to Make input/userpicker's name
by brettp on 2012-04-10
Original ticket http://trac.elgg.org/ticket/4420 on 2012-03-26 by trac user kevinjardine, assigned to unknown.
Elgg version: 1.8.3
Currently the userpicker uses an array with the hardcoded name members[] and hence there can only be one userpicker per form.
Could this be made configurable using the "name" parameter usually supported by input fields? It could default to "members" if there was no "name" parameter for backwards compatibility.