开发者

Flex Method on Leave TextInput

开发者 https://www.devze.com 2023-04-05 07:46 出处:网络
Does anyone know of an event that can be called after a user clicks out of a TextInput? I would like the user to enter information, and when they finish I开发者_开发百科 would like to format the info

Does anyone know of an event that can be called after a user clicks out of a TextInput?

I would like the user to enter information, and when they finish I开发者_开发百科 would like to format the information.

Thanks in advance for any advice!


That's valueCommit event you're looking for. It fires when user changed text and set focus to something else.


You should use the onBlur event which occurs on an element when it loses focus, i.e when a user clicks outside that specific element

0

精彩评论

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