      * 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.

import mx.events.ListEvent;

import com.threerings.util.CommandEvent;

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

    }

    /**
     * Set the selectedItem based on the data field.
     */
    public function setSelectedData (data :Object) :void
    {
        for (var ii :int = 0; ii < dataProvider.length; ++ii) {
            if (Util.equals(data,
                    (dataField != null) ? dataProvider[ii][dataField] : dataProvider[ii])) {
                this.selectedIndex = ii;
                return;
            }
        }

        // not found, clear the selection
        this.selectedIndex = -1;
    }

