Hi folks, I am binding a combobox using the below code with a FeatureLayer. After I add a new feature to the FeatureLayer (editing using the applyEdits method of the FeatureLayer). After this the combobox gets an additional value of object:Object.
var features:ArrayCollection = ArrayCollection(excavationLayer.graphicProvider);
var featureSet:FeatureSet = new FeatureSet(features.source)
this.cboSearchWorkOrder.dataProvider = featureSet.attributes;
this.cboSearchWorkOrder.labelField = "Order_No";
I stepped through the code when selecting the object:Object item in the combobox and has the correct attributes array but for some reason won't display it properly.I have tried to refresh the FeatureLayer with hopes of rebinding the combobox but didn't seem to work. Any ideas?thanks,Justin