It looks like this module only supports the autocomplete widget. It'd be great if you could add support for select lists, checkboxes, and radio buttons.

CommentFileSizeAuthor
#7 2909617-5.patch656 bytesyura.z
#5 2909617-4.patch534 bytesyura.z
#4 2909617-3.patch787 bytesyura.z
#3 2909617-2.patch826 bytesyura.z
#2 2909617.patch860 bytesyura.z

Comments

ebeyrent created an issue. See original summary.

yura.z’s picture

StatusFileSize
new860 bytes

I created a patch, which adds Options Select widget for EntityReferenceUUID fields.
Please, review.

yura.z’s picture

StatusFileSize
new826 bytes

Patch was fixed in accordance with coding standards.

yura.z’s picture

StatusFileSize
new787 bytes
yura.z’s picture

StatusFileSize
new534 bytes

Another way, I used hook_field_widget_info_alter() for adding 'options_select' to 'entity_reference_uuid' fields.
Patch added, please, review.

alphawebgroup’s picture

ok, thank you for the patch
but it looks like it covers "options_select" widget? right?
what about checkboxes and radios?

yura.z’s picture

StatusFileSize
new656 bytes

This patch adding both widgets: "Select list" and "Check boxes/radio buttons" for 'entity_reference_uuid' fields.
Please, review.

alphawebgroup’s picture

Status: Active » Needs review
alphawebgroup’s picture

Status: Needs review » Reviewed & tested by the community

looks good for me
RTBC

  • alphawebgroup committed 97fd17b on 8.x-1.x authored by yura.z
    Issue #2909617 by yura.z, alphawebgroup, ebeyrent: Add support for other...
alphawebgroup’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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