Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity_reference.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2014 at 11:22 UTC
Updated:
11 Sep 2015 at 11:56 UTC
Jump to comment: Most recent
Comments
Comment #1
andypost\Drupal\user\Plugin\entity_reference\selection\UserSelectionis thereProbably AuthorWidget is a proper solution here
Comment #2
primsi commentedA small note: currently NodeForm->buildEntity looks for a value in the uid field and if there is none it sets the authorship to Anonymous. That doesn't work well with node form display modes that don't have the "Authored by" field and resulting in the base field value being set to uid 0.
Comment #3
amateescu commentedThis has been fixed in #2566419: Using the "Autocomplete (Tags style)" widget for the author field does not save the submitted user.