You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I enter the page the following error is thrown:
ERROR Error: Uncaught (in promise): Error: No value accessor for form control with name: 'expDate'
Error: No value accessor for form control with name: 'expDate'
Is there any way to fix this?
The text was updated successfully, but these errors were encountered:
Use inputs not spans
On Aug 16, 2018 1:38 PM, "sertal70" <[email protected]> wrote:
I'm trying to use ion-datepicker in an angular form, so my code uses
formControlName instead of [(value)] to bind the value:
<span ion-item item-right ion-datepicker formControlName='expDate'
clear class="ScheduleDate">
<span>{{expDate | date}} <ion-icon name="clipboard"></ion-icon> </span>
</span>
But when I enter the page the following error is thrown:
ERROR Error: Uncaught (in promise): Error: No value accessor for form
control with name: 'expDate'
Error: No value accessor for form control with name: 'expDate'
Is there any way to fix this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#86>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGV4LKP0hWG3kZTuz7byrDUuplCxRZGJks5uRa4lgaJpZM4WASfJ>
.
I'm trying to use ion-datepicker in an angular form, so my code uses
formControlName
instead of[(value)]
to bind the value:But when I enter the page the following error is thrown:
Is there any way to fix this?
The text was updated successfully, but these errors were encountered: