Reputation: 2604
I know that I can add a listener to the change
event, but it will fire only when user changes the value. Is there a way to setup a similar listener for programmatic change as well?
Upvotes: 3
Views: 675
Reputation:
You can fire event after programmatic changes.
cmp.fireEvent('change', cmp, newValue, oldValue)
Upvotes: 1