Currently, users may drag a "None" item, along with other items, into the list of selected options. That could lead to some confusion. A "None" item is not needed with this widget.

CommentFileSizeAuthor
#1 description-change_1447300_1.patch575 bytesssoulless

Comments

ssoulless’s picture

Issue summary: View changes
Priority: Normal » Minor
Status: Active » Fixed
StatusFileSize
new575 bytes

Here is a patch really simple...

By default drupal always atach a tag for the - None - option that is ['_none']

Just deleted ['_none'] from the $element['#options'] array that contains our options items.

Here is the patch...

I'll mark it as fixed due to I think there is no error maybe I forgot to comment the line jeje, let me know how it goes.

david lesieur’s picture

Status: Fixed » Needs review

It's not fixed until it's been committed.

ssoulless’s picture

Can I commit it? if you are bussy I can help you maintain the module I would like. Greetings =D

genjohnson’s picture

Status: Needs review » Reviewed & tested by the community

The patch in comment 1 works for me and still applies against the latest dev. Marking RTBC.

redeight’s picture

Patch worked fantastically for me. Seconding RTBC and recommending commit.