I am having a strange issue with not being able to manually change prepopulated values of ER fields (both autocomplete and select). On page load all fields are prepopulated correctly from the URL. The fields are enabled for editing, I can change the value, the standard autocomplete functionality works for autocomplete fields, suggesting available new values as I type. But when I save the form, it's the initial prepopulated value that is saved, regardless of what I typed/selected in the form. This doesn't happen to ordinary text fields - my changes to their prepopulated values are saved ok.

Comments

ndlarge created an issue. See original summary.

portulaca’s picture

I can confirm this.

The preferred behavior should be to prevent the editing of the prepopulated field.

IIRC the field was disabled from editing in D7 entityreference_prepopulate and it makes sense, you don't want fiddling with values and selecting the wrong one, having field prepopulated means you came from a context with expectations.

heddn’s picture

Status: Active » Closed (outdated)

Lots of new features are now available.