0
votes

I found that in flex, combobox has 3 events: open, close, change combobox events example

Let's say I selected A in my combo box. Then I might do 2 things:

  • I open combobox and click A option again
  • I open combobox and close it by clicking somewhere else (without clicking A option)

There is no selection change in either of the case above. And they both have open and close involved. So if I want these 2 actions have different behaviors, I can't programmatically distinguish them.... Is it possible to have a click event on combobox or combobox options?? I am using a data provider for my combobox...

Thanks a lot!!!

1

1 Answers

0
votes

The ComboBox events do have a click event defined, although it is inherited.

Unless the ComboBox has a click event listener and calls preventDefault() to prevent the event from bubbling, you should be able to listen for the click event on a ComboBox without any issues.