Hi! I'm trying to integrate this fantastic module, with another fantastic module: Node Reference Create. But I need some help.
I have found the place where the nodereference widget is defined:
Line 62, reference_preview.module
if ($form_state['post']['op'] != t('Change basic information') && $form['#field']['widget']['type'] == 'nodereference_autocomplete') {
So I've just change it with the Node Reference Create widget type: 'noderefcreate_autocomplete', and it works, but only with a single value. I also would like to enable both widgets. Any ideas?
Thanks!
Comments
Comment #1
viibfa commentedComment #2
hefox commentedI don't use noderef create, but I'd suggest you look at node relationships module which likely provides similair functionality.
Likely the javascript is unable to target multiple nodereference create due to different markup
Comment #3
hefox commentedRe-open if willing to provide a patch for it.
Comment #4
dominikb1888 commentedI attached a patch which solves the issue for 2.x-dev. Works fine with noderelationships, reference_preview, and noderefcreate.