Calendar - No value accessor for ''

UI Components for Angular
Post Reply
Posts: 1
Joined: 06 May 2016, 19:16

06 May 2016, 20:15

Hello all. I'm having trouble with Calendar, "No value accessor for '' in [model.Date in QuoteCreateFormComponent]". I'm following the example from I have been unable to get this working. This is what my code currently looks like:

Code: Select all

<p-calendar class="form-control"
Side notes:
My value, model.Date, is a string.
I have tried removing the #Date="ngForm" line and the [ngFormControl]="quoteForm.controls['Date']" but still get the same result.
I'm using Angular2 beta 15. (maybe I need the newer version?)
I just installed primeng and primeui (literally today). I ran into an issue in splitbutton.d.ts where I had to change

Code: Select all

import { Location } from 'angular2/platform/common';
back to

Code: Select all

import { Router, Location } from 'angular2/router';

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests