maybe it is because you have not called the function assign data, as
it is in here that the dataprovider binding is setup.

Why not set the binding up on the combo:
<mx:ComboBox id="assetMFR" editable="true" dataProvider={arrData}/>

and make sure that the array arrData, is defined outside of the function

Andrew
--- In flexcoders@yahoogroups.com, "charlespaz1" <[EMAIL PROTECTED]> wrote:
> It is not a seperate text field, but the combo boxes' own text fields
> that they won't fill in.
> 
> The data is bound by setting the data provider to an Array of strings.
> 
> function assignData() {
>    var arrData:Array = new Array("string1", "String2");
>    assetMFR.dataProvider = arrData;
> }
> 
> <mx:ComboBox id="assetMFR" editable="true" />
> 
> Typing in an entry works fine, however, selecting an entry from the
> drop down list doesn't work at all until you do it a second time.
> 
> --- In flexcoders@yahoogroups.com, "greenfishinwater"
> <[EMAIL PROTECTED]> wrote:
> > How do you do the data binding to the textbox, can either of the 3
> > combo boxes populate the text field? I do something similar where I
> > display the description from the combo box:
> > 
> > <mx:Model id="selectedDescriptions">
> >   <selForecastAge>{forecastAgeCBO.selectedItem.label}</selForecastAge>
> > 
> > Then my label has:
> > <mx:Label text="Use: {selectedDescriptions.selForecastAge}" x="10"
> > y="625" width="260" />
> > 
> > Andrew
> > 
> > --- In flexcoders@yahoogroups.com, "charlespaz1" <[EMAIL PROTECTED]>
> wrote:
> > > I have 3 editable combo boxes in a panel and when an item is
selected,
> > > nothing appears in the text box.  When an item is selected a second
> > > time, it works properly.
> > > 
> > > Is this just a quirk of the Editable combobox or is this a bug?





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to