Event Listener for typing in plugin

Hello, I used atlassian-plugin-sdk from here https://developer.atlassian.com/server/framework/atlassian-sdk/install-the-atlassian-sdk-on-a-linux-or-mac-system/

I then created a plugin and added an event Listener that is able to catch epic creation. Code from here Bitbucket

Now, I want an event Listener that detects when the user is typing something in “Epic Name” or “Summary” when the Issue type is “Epic” or when the user is typing something in “Summary” when issue type is “Story”. The event Listener I have found till now catches “issue creation”

Additionally, once the event is triggered by typing, I want to display 3 suggestions below the input box like a drop down. Any way to achieve that?