Ion-datetime emitted undefined in ionic 6

Hello, can you help me?

I am working on the migration from Ionic 5 to Ionic 6 with Angular.

I have the @ionic/angular dependency.

Error:

When I open the ion-datetime and I don’t touch the datetime but only touch the accept button, my reactive form gets an undefined value.

I found the bug and it is closed Issues . The only difference in my case is that I don’t have the @ionic/core dependency, but when you create an Ionic project with Angular, this dependency does not exist.

Thanks you so much :slightly_smiling_face: