How to create dynamic ionic element


Hi All,

Anyone tell how to create a dynamic button element in ionic 2.

Thanks & regards,


Maybe you could provide some more information? That really doesn’t tell us what you’re trying to do, or what you have tried to do


Hi @mhartington,

I have login page in my app, while login if user credentials not matched i need to show “forget password” button dynamically. This is my requirement.


Look at the documentation for ngIf and binding hidden.


Hi @rapropos,

Thanks for previous one

I have another doubt in input element

I want to create a multiple input element based on requirement. It some time take two or three.
Share your suggestion.


I referred ionic 2 api document nothing relates with this query