Numerical keyboard Ioinc

I want a numerical keyboard to appear on the screen when the alert show is there a way to do this?

showPrompt(message) {
let prompt = this.alertCtrl.create({
  title: "term and condition",
  message:message,

  inputs: [
    {
      name: 'code',
      placeholder: 'Code',
      checked:false,
    },
  ],
 inputs: [
        {
          type: 'number'
          name: 'code',
          placeholder: 'Code',
          checked:false,
        },
      ]
1 Like