Unable to fix maxlength for prompt input of alert controller
Unable to fix maxlength for prompt input of alert controller mpinPrompt() { let prompt = this.alertCtrl.create({ title: 'Enter MPIN', // message: "Enter MPIN", inputs: [ { name: 'mpin', type: 'password', placeholder: 'mPIN', maxlenth:'4'/////// <-------------- cant find this property }, ], buttons: [ { text: 'Cancel', handler: data => { console.log('Cancel clicked'); } }, { text: 'OK', handler: data => { this.success(data.mpin); console.log('OK clicked'); } } ] }); prompt.present(); }
Kindly do suggest an alternative for this.
Thanks for the issue! It appears that you have not filled out the provided issue template. We use this issue template in order to gather more information and further assist you. Please create a new issue and ensure the template is fully filled out.
Thank you for using Ionic!