Closed (fixed)
Project:
Entity Reference View Widget
Version:
7.x-2.0-beta5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Jul 2014 at 22:28 UTC
Updated:
20 Aug 2014 at 19:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dr.admin commentedWe can't save node because in function entityreference_view_widget_validate disabled fields is not in $input array
Comment #2
dr.admin commentedComment #3
dr.admin commentedComment #4
jsacksick commentedI'm wondering why would you use entityreference_view_widget if you disable the field and prepopulate it via entityreference_prepopulate? Why do you need the widget for then?
Comment #5
jsacksick commentedI tested and committed the attached path, thanks for your contribution even though I still don't understand in which situation you would need to use ERVW with entityreference_prepopulate.
Comment #7
dr.admin commented:))
On my site i have node "doctor" and it has entity reference field for node "clinic".
When user create doctor from node "clinic" i use entityreference_prepopulate to fill entity_reference field, but if user create node "doctor" from other pages user selects clinic via ERVW.