You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.input = new AutoComplete();
this.input.autoCompleteDelay = 0;
updateSource();
this.addChild(this.input);
var button:Button = new Button();
button.label = "Click Me";
button.y = 50;
button.addEventListener(Event.TRIGGERED, function():void
{
saveNewItem();
});
this.addChild(button);
Functions:
public function saveNewItem():void
{
myArray.push(this.input.text);
updateSource();
}
private function updateSource():void
{
var source:LocalAutoCompleteSource = new LocalAutoCompleteSource( new ListCollection( myArray ) );
this.input.source = source;
}
steps to reproduce :
tap on keyboard "go" -> "Click Me"
tap on keyboard "goo" -> "Click Me"
tap on keyboard "goog" -> "Click Me"
keyboard "backspace"
keyboard "backspace"
The text was updated successfully, but these errors were encountered:
Forum thread: http://forum.starling-framework.org/topic/autocomplete-and-item-not-visible
Create AutoComplete:
Functions:
steps to reproduce :
The text was updated successfully, but these errors were encountered: