Skip to content

Commit

Permalink
Fixed #746
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Aug 17, 2016
1 parent c908e5b commit 3da7287
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const CALENDAR_VALUE_ACCESSOR: Provider = new Provider(NG_VALUE_ACCESSOR, {
[disabled]="disabled" (mouseenter)="hovered=true" (mouseleave)="hovered=false" (focus)="focused=true" (blur)="handleBlur($event)"
[ngClass]="{'ui-inputtext ui-widget ui-state-default': true, 'ui-corner-all': !showIcon, 'ui-corner-left': showIcon,
'ui-state-hover':hovered,'ui-state-focus':focused,'ui-state-disabled':disabled}"
><button type="button" [icon]="icon" pButton *ngIf="showIcon" (click)="onButtonClick($event,in)" class="ui-datepicker-trigger"></button></span>
><button type="button" [icon]="icon" pButton *ngIf="showIcon" (click)="onButtonClick($event,in)"
[ngClass]="{'ui-datepicker-trigger':true,'ui-state-disabled':disabled}" [disabled]="disabled"></button></span>
<div *ngIf="inline"></div>
`,
providers: [CALENDAR_VALUE_ACCESSOR]
Expand Down

0 comments on commit 3da7287

Please sign in to comment.