Problem/Motivation
Autocreate a is a great UX option for Entity Reference fields. Currently it is not available if you choose "Views" as the "Reference method", which is necessary if you want to filter the available choices.
Proposed resolution
Create an auto create EntityReferenceSelection plugin which extends ViewsSelection.
Remaining tasks
See #96
See #98
Review
User interface changes
Entity reference field type will have one more reference method Views: Filter by an entity reference view and allow autocreation
.
When this option is selected and Create referenced entities if they don't already exist
is checked, new referenced entities with title will be created. If more then one bundle exists for referenced entity, then a Store new items in
select option will be shown to choose the bundle.
API changes
None.
Data model changes
None.