Hello.
I want to ask developers to make empty option in select list Customizable.
I was wondered that, nobody want it, i googled for 3 days.

This is solution I use in my website. I don't know is it good or not, it might be buggy.
I changed function optionwidgets_options (401)

//from
$options = array('' => theme('optionwidgets_none', $field)) + $options;
//to
$options = isset( $options[''] ) 
  ? $options
  : array('' => theme('optionwidgets_none', $field)) + $options ;

I think this is [must have] feature.
Thanks.

Comments

Nikolay Shapovalov’s picture

Issue tags: +CCK, +select
roball’s picture

Version: 6.x-2.9 » 6.x-3.x-dev
Assigned: Nikolay Shapovalov » Unassigned
Status: Active » Fixed

You can use the CCK Single Select module, which allows you to customize all single-value select lists on your site, both optional and required ones.

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