Ion-alert with Vue - How to execute OK button when the enter is pressed on the input field?

Hi,

I use Vue and ion-alert for requesting one input filed. It would be handy to execute the OK button function when the user presses the enter on the input filed. Could you advise sample code how to solve it?

Thanks,
Zsolt