Skip to content

Commit

Permalink
Fixed #4195
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Oct 23, 2017
1 parent a563667 commit 9688751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/datatable/datatable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export class ColumnFooters {
<p-columnBodyTemplateLoader [column]="col" [rowData]="rowData" [rowIndex]="rowIndex + dt.first"></p-columnBodyTemplateLoader>
</span>
<div class="ui-cell-editor" *ngIf="col.editable">
<input *ngIf="!col.editorTemplate" type="text" [(ngModel)]="rowData[col.field]" required="true"
<input *ngIf="!col.editorTemplate" type="text" [(ngModel)]="rowData[col.field]"
(keydown)="dt.onCellEditorKeydown($event, col, rowData, rowIndex)" (blur)="dt.onCellEditorBlur($event, col, rowData, rowIndex)"
(input)="dt.onCellEditorInput($event, col, rowData, rowIndex)" (change)="dt.onCellEditorChange($event, col, rowData, rowIndex)"
class="ui-inputtext ui-widget ui-state-default ui-corner-all"/>
Expand Down

0 comments on commit 9688751

Please sign in to comment.