ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

Unable to fix maxlength for prompt input of alert controller

Open bazigatabassum opened this issue 9 years ago • 1 comments

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.

bazigatabassum avatar Jan 02 '17 14:01 bazigatabassum

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!

ionitron-bot[bot] avatar Jul 12 '18 20:07 ionitron-bot[bot]