Skip to Content

How to attach event on Value Help Dialog selection Change?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 09, 2017 at 02:25 PM

    use addDelegate method to add the even.

    Regards,

    Karthik A

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 12, 2017 at 09:04 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded