Closed (won't fix)
Project:
Inline Entity Form
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
16 Apr 2013 at 15:05 UTC
Updated:
17 May 2013 at 09:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
cuebix commentedPatch is provided. A module would basically need to provide some sort of UI for entity selection via hook_field_widget_form_alter. The hook provides a way for it to change the inline entity id (in $items) before the inline entity form widget loads the entity. When an id is changed, the module will also need to set the appropriate key in $form_state['input'] to null so that inline entity form will re-generate the form.
Comment #2
bojanz commentedI think this is out of scope for IEF.
You can write your own widget, or prefill the entityreference field before loading the widget, or just wrap the IEF widget (your widget calls the IEF widget function).