if using the select widget, node ref field has an empty choice at the top when displayed on a node form. text+checkboxes has one too as well.

Comments

karens’s picture

I know, I see that too and I can't figure out where it is coming from.

moshe weitzman’s picture

Found it. nodereference_allowed_values() adds a 'none' option when a field is not required. then optionwidgets_options() adds another option, an empty one, under the same condition. I would submit a patch for optionwidgets_option() to remove this code but i am not sure why it is there.

karens’s picture

Component: nodereference.module » optionwidgets.module

Collecting optionwidgets issues in the same place.

karens’s picture

Status: Active » Fixed

This does not seem to be a problem with the latest code.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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