Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When I configure cck select other widget with a list field that allows multiple values, the field disappears in the node form as soon as 'select another' is used.
Comment | File | Size | Author |
---|---|---|---|
#4 | 994740-multiple-values-2.patch | 1.99 KB | mradcliffe |
#2 | 994740-multiple-values.patch | 460 bytes | mradcliffe |
Comments
Comment #1
mradcliffeDo you mean multiple values for the field such as setting it to 1, 2, 3, 4, ..., unlimited? Or do you mean selecting multiple values in a single select list?
What's the work flow you used to get there? I haven't done a multiple value select list in Drupal 7 yet.
Edit: right now, this latter thing isn't supported, and the former works, but not fully in Drupal 7 (no javascript goodness).
Comment #2
mradcliffeHere's an initial patch. I'm not going to work on this until I get some of the other issues done.
Caveats:
No tests.
Comment #3
mradcliffeJavascript hiding actually does work... with the recent patches.
Comment #4
mradcliffeSo I'm going to need to add a wrapper around the select other list div because add additional completely destroys the id when it rebuilds the form. :(
I have this working and passing all current tests, but may need to do an add more test.
Comment #5
mradcliffeAnother issue: Only the default value for the first field is selectable.
Comment #6
mradcliffeOkay, committed tests and multiple values patch + fix for default values. Passes all tests.
Comment #7
mradcliffeHmm... the tests are not exhibiting what is happening in real life. Sigh.
Comment #8
mradcliffeOkay, we're fixed now.