Ion-input not showing in production

Hi

I am working on an Ionic v6 project.
When I run in live mode ionic capacitor run android -l, <ion-input> is displayed and I can type on it.
Whereas, when I run the app in production mode, for example, from AndroidStudio the <ion-inpu> is not displayed.
I inspected the code via the browser and the HTML tag is there.

Do you have any idea?
thanks

1 Like

Make sure the ion-input is imported in your component. And check the ionic build output for warnings and errors.

1 Like

Thanks for the suggestion.
it works

A year later and this helped, I was missing quite a few Ion components from import statements.