When I try to create a new (custom) entity I cannot create new entities.

This is similar to #3083056: Entity autocreate checkbox for custom entites not working, but select2 also needs the tags option to be set to true.

Comments

ytsurk created an issue. See original summary.

ytsurk’s picture

StatusFileSize
new1.55 KB

Here's my patch.

ytsurk’s picture

Status: Active » Needs review
StatusFileSize
new1.55 KB

Here the working one ..

chr.fritsch’s picture

Title: Autocreate entity references not working » Autocreate not working for referenced entities without bundle

Thanks for reporting. Here is a PR https://github.com/thunder/select2/pull/75

chr.fritsch’s picture

I think on bundle-less entities it should return the target_type. Would be nice if you could review my PR @ytsurk

chr.fritsch’s picture

Status: Needs review » Reviewed & tested by the community

Reviewed by @daniel.bosen

  • chr.fritsch authored db6208b on 8.x-1.x
    Issue #3088740 by ytsurk, chr.fritsch, daniel.bosen: Autocreate not...
chr.fritsch’s picture

Status: Reviewed & tested by the community » Fixed

Done

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.