Ionic 4 Alert Component

#1

Is there any possibility to add maxlenght of string to inputs and make it required?

 this.alertController
         .create({ 
                inputs: [
                    {
                    name: 'comment',
                    placeholder: 'Please insert your comment',
                    },
                ],
         })