Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The element ng2-flatpickr doesn't work inside ion-item element #55

Open
AbubakarSaad opened this issue Jan 31, 2019 · 0 comments
Open

Comments

@AbubakarSaad
Copy link

AbubakarSaad commented Jan 31, 2019

I have form and inside there I use an ion-item element to structure the form. Basically something like this:

<form [formGroup]="labels" (ngSubmit)="logForm()">
        <ion-item>
            <ion-label>Time Date:</ion-label>
            <ng2-flatpickr formControlName="time_date"></ng2-flatpickr>
        </ion-item>
</form>

But the ng2-flatpickr doesn't get render when its inside the ion-item tag. It only renders when its outside. I was wondering why is that the case?

Any help would be greatly appreciated. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants