После обновления до rc5 и переустановки Primeng с новой версией я получаю следующую ошибку:
zone.js? 1472019041780: 484 Отклонение необработанного обещания: ошибки синтаксического анализа шаблона: невозможно выполнить привязку к «значку», поскольку это неизвестное свойство «кнопки». ("ver ': hovered,' ui-state-focus ': focus,' ui-state-disabled ': disabled}">] [icon] = "icon" pButton * ngIf = "showIcon" (click) = "onButtonClick ($ event, in) "[ngClass] ="): Календарь @ 7: 31; Зона:; Задача: Promise.then; Значение:
Я попытался удалить все ссылки на календарь, чтобы хотя бы запустить приложение, и получил еще одну проблему:
Can't bind to 'rows' since it isn't a known property of 'p-paginator'.
1. If 'p-paginator' is an Angular component and it has 'rows' input, then verify that it is part of this module.
2. If 'p-paginator' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schema' of this component to suppress this message.
(" <ng-content select="header"></ng-content>
</div>
<p-paginator [ERROR ->][rows]="rows" [first]="first" [totalRecords]="totalRecords" [pageLinkSize]="pageLinks" styleClass="ui"): DataTable@6:25
Can't bind to 'first' since it isn't a known property of 'p-paginator'.
1. If 'p-paginator' is an Angular component and it has 'first' input, then verify that it is part of this module.
2. If 'p-paginator' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schema' of this component to suppress this message.
("<ng-content select="header"></ng-content>
</div>
зависимости:
import { NgModule, ElementRef } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { HttpModule } from '@angular/http';
import { Calendar, DataTable, Column, InputMask } from 'primeng/primeng';
zone.js?1472029134433:484 Unhandled Promise rejection: Template parse errors: Can't bind to 'showItBootstrap' since it isn't a known property of 'a'. ("k]="['/about']">ABOUT</a>
- person Ahuva   schedule 24.08.2016