Issue with FormControl & Rendering

I’m new to Ionic 4 and I habe a stupid issue.
I create a page and wants to build a form. The page doesn’t render correctly.
The area with the form is very small and there is a scollbar.
This only happen when i use "formControlName=“firstName”. Without the formcontrol everything is fine.

What is my mistake?


      <ion-input type="text" formControlName="firstName"></ion-input>
        <ion-input type="text" formControlName="lastName"></ion-input>

Open Chrome’s Developer Tools and look in the JavaScript console for errors. If my suspicions are correct, you will see an extremely descriptive message telling you exactly what is wrong and what to do about it. I would put that [formGroup] directive on the form element.