How to add input box in alert with readonly property…
or
How to add para in alert box
According to the documentation of alert controller in ionic, it is clearly mentioned that some kind of complex needs like the one you have, you need to go with modal controller.