      * The field of the selectedItem object used as the argument to the
      * command or function. If null, the entire selectedItem is passed as the argument.
      */
-    public var dataField :String;
+    public var dataField :String = "data";
 
     /**
      * Create a command combobox.

    }

    /**
     * Handy function to lookup an option based on dataField and set it as the selected item.
     * This probably only works for Array dataProviders.
     */
    public function setSelectedValue (value :Object) :void
    {
        for (var ii :int = 0; ii < dataProvider.length; ++ii) {
            var v :Object = (this.dataField != null) ?
                dataProvider[ii][this.dataField] : dataProvider[ii];
            if (v == value) {
                this.selectedIndex = ii;
                return;
            }
        }

        // Assign to the prompt
        this.selectedIndex = -1;
    }


import mx.events.ListEvent;

import com.threerings.util.CommandEvent;
import com.threerings.util.Util;

/**
 * A combo box that dispatches a command (or calls a function) when it is toggled. NOTE: Unlike the
