开发者

bind combobox text

I have an editable combobox. How can I bind the text the user开发者_StackOverflow中文版 enters? I can only do binding when the user selects whatever it is they typed in...how can I bind it as they type?


<script>

    [Bindable]
    public var boundText:String;

</script>

<TextBox text="@{boundText}" />

This will set up a two-way binding so changes to the textbox's text are reflected in boundText, and vice-versa.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜