Commit 1f0d52f2 by Chanachai

Update date contact

parent 3c259ec9
......@@ -39,7 +39,7 @@
<button class="btn btn-sm btn-outline-primary"
(click)="Ropen(editroom,((pageListRoom-1) * pageSizeListRoom)+i)">แก้ไข</button>
<button class="btn btn-sm btn-danger" type="button.dispose"
(click)="openDelete(deleteRoomPopup,item)">ลบ</button>
(click)="openDeleteRoom(deleteRoomPopup,item)">ลบ</button>
</div>
</div>
</div>
......
......@@ -95,9 +95,8 @@
<div class="row">
<div class="col-sm-12 mb-1">
<label for="exampleFormControlSelect1">วันที่แจ้ง</label>
<input readonly type="date" class="form-control" [(ngModel)]="modelContact.sDate"
<input readonly class="form-control" type="date" [(ngModel)]="sDate"
formControlName="sDate" />
</div>
</div>
<div class=" row">
......@@ -165,8 +164,7 @@
</div>
<div class="col-6 mb-1">
<label for="exampleFormControlSelect1">วันที่เริ่มต้น</label>
<input type="date" class="form-control" value="" formControlName="sDate"
[(ngModel)]="modelContact.sDate" >
<input type="date" class="form-control" value="" [(ngModel)]="modelContact.sDate" formControlName="sDate">
<div style="color: red;" *ngIf="myFormContact.controls.sDate.status=='INVALID'">
กรุณากรอกวันที่แจ้ง.</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment