3 Replies Latest reply on Mar 7, 2007 11:50 AM by JennHysuick

    Combo Box Default Value

    JennHysuick Level 1
      I'm trying to find a way to display a default value in a combo box (so that the first value is "select one").

      What I have is:
      <local:HtmlComboBox id="formulaValue" dataProvider="{stuFamily.arrStuVar}" labelField="name" >
      <mx:Text htmlText="{data.name}" />

      What I'm working with is a stuFamily object, which has an array of stuVar objects, and I'm display the name property of each stuVar object. This is all working, but I would like to put "Select One" at the top of the list of items, and short of adding an object to my array with a name of "select one", I don't know how to do this, and I really don't want to have to add it to my objects just for this purpose.