Hi
I'm sorry if this is a dumb question, but I can't figure out if there is a select widget somewhere.
Within the field Entity Reference there are two widgets, Autocomplete and Autocomplete (Tags style). On the project page, it says that there are also two widgets implemented on top of the list module. I tried to create a List (text) field but there isn't any options after related to Entity Reference.
Can someone enlighten me please ?

CommentFileSizeAuthor
#5 options-widget.png32.86 KBdamien tournoud

Comments

damien tournoud’s picture

Status: Active » Fixed

This text should have read "implemented on top of the Options module".

Pierre_G’s picture

Status: Active » Fixed

Thanks for your answer.
Well, I have the Options module enabled, it's required by the List module.
Where/How then can I create a select form element and specify Entity Reference options like the autocomplete widget ?

Pierre_G’s picture

Status: Fixed » Active
rbruhn’s picture

Status: Fixed » Active

I would be interested in knowing how to implement a select list as well. I posted what I needed before on RC1 here: http://drupal.org/node/1551166

I ended up altering the form field myself within my module, but when I updated to RC3 the form throws the error:
There are no entities matching "51"

The id 51 is related to the user id being select in the select list. Obviously something changed in code that I'm missing. Rather than hack it like I am, I'd rather use a built in solution if there is one.

damien tournoud’s picture

StatusFileSize
new32.86 KB

When you have the Options module enabled, you should see a "Select list" widget and a "Check boxes / radio buttons".

I'm a little bit baffled how this is not clear.

Pierre_G’s picture

Well, I'm baffled too seeing your screenshot.
I only got the two autocomplete widgets, not the list/checkbox.

But I just tried a fresh install of D7 just just CTools, Entity API and Entity Ref, and indeed I've got the list widget!
Maybe a conflict with another module ? I'll try to find out.

Pierre_G’s picture

Found it :p
When I've the Exif module disabled, List and Checkbox widgets appear.

damien tournoud’s picture

Status: Active » Closed (duplicate)
Pierre_G’s picture

ahah thanks, too bad I couldn't find any issue in exif issues... glad you did :)
I'm gonna check with them.
thanks again.

rbruhn’s picture

@Pierre_G
Thank you for tracking that down.

Exploratus’s picture

Happening to me also.