How to add onChange event to dropdown control in event calendar editor

I have a requirement where I need to call an API to select value from a dropdown list on change of another dropdown list present in the editor.