elgg-gitbot / test2

0 stars 0 forks source link

Make input/userpicker's name (Trac #4420) #37

Open elgg-gitbot opened 11 years ago

elgg-gitbot commented 11 years ago

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.

elgg-gitbot commented 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:

elgg-gitbot commented 11 years ago

Milestone changed to Elgg 1.8.x by brettp on 2012-04-10

elgg-gitbot commented 11 years ago

Title changed from Support multiple userpickers in one form to Make input/userpicker's name by brettp on 2012-04-10