# Where is the addInput() method of Alert

**URL:** <https://forum.ionicframework.com/t/where-is-the-addinput-method-of-alert/152645>\
**Category:** Ionic Framework\
**Created:** [January 9, 2019, 5:28pm UTC](https://forum.ionicframework.com/t/where-is-the-addinput-method-of-alert/152645 "2019-01-09T17:28:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brunofoafonso](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@brunofoafonso](https://forum.ionicframework.com/u/brunofoafonso)\
**Post date:** [January 9, 2019, 5:28pm UTC](https://forum.ionicframework.com/t/where-is-the-addinput-method-of-alert/152645/1 "2019-01-09T17:28:47Z")

</div>

I’m migrating my ionic-v3 code to ionic-v4 and I’m not able to find some methods of Alert and Loading that I use in ionic-v3 like alert.addInput() and loader.setContent(). How can I use this methods on ionic-v4?

---

<div class="post-metadata">

**Author:** ![voodark](https://avatars.discourse-cdn.com/v4/letter/v/c77e96/32.png) [@voodark](https://forum.ionicframework.com/u/voodark)\
**Post date:** [February 12, 2019, 7:46am UTC](https://forum.ionicframework.com/t/where-is-the-addinput-method-of-alert/152645/2 "2019-02-12T07:46:53Z")

</div>

you can try following

await alertctrl.inputs.push({  
label:abc,  
…  
})
