cancel
Showing results for 
Search instead for 
Did you mean: 

Event Stack is not available?

jorge_cabanas
Participant
0 Kudos

Hi,

I have the following scenario:

One input field with an event 'onchange'.
One button to navigate back with an event 'press'

Case:
1 - User modifies the value of the input field (The event 'onchange' will be fired when the input lose the focus)

2 - User directly clicks on "Back" button (Expecting go back)


Result:
The event 'onChange' is fired because the input field lost the focus.
This is right, but after this event the 'Press' event of the button is never fired.

SAPUI5 is not stacking events?
I'm about to do manually the checks of 'onChange' event in the 'Back' button but I want to know if exist any more graceful way.

Any idea is welcome.


Greets,

View Entire Topic
jorge_cabanas
Participant
0 Kudos

Hi both,

I cannot make a jsfiddle now because the problem was solved doing manually another workaround.
Cristian: I debugged all the logic and it made no sense, only the input change event was done anyway and it was only a check in the value of the data

Thanks,

CristianBabei
Contributor
0 Kudos

If it's complete try to help other by saying how to resolve it, but you don't know then just accept any answer or just close this question 🙂