Skip to Content
0

How to attach event on Value Help Dialog selection Change?

Jun 09, 2017 at 01:17 PM

61

avatar image

Hi All,

In a business scenario I want to use change event of Input control every times when the value changes.
I am using value help dialog on this Input control. When I select any item from Value help dialog the value changes in Input control but event does not triggers.
Please let me know how can I attach 'change' event when any value selected from value help dialog.

Please provide code snippet also if possible.

Regards,
Amit

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

A K Jun 09, 2017 at 02:25 PM
0

use addDelegate method to add the even.

Regards,

Karthik A

Share
10 |10000 characters needed characters left characters exceeded
Abdul Moh'd Jun 12, 2017 at 09:04 AM
0

Are you using sap.ui.comp.valuehelpdialog.ValueHelpDialog or sap.m.SelectDialog?

ValueHelpDialog has a selectionChange event and the SelectDialog has a confirm event, both will be called when an item in their respective list is selected.

Share
10 |10000 characters needed characters left characters exceeded