Set Date เป็น null ในหน้าเพิ่มข้อมูลลูกจ้าง
This commit is contained in:
parent
51c4c777e5
commit
de0c00baca
3 changed files with 1140 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ interface Information {
|
|||
prefixId: string | null;
|
||||
firstname: string | null;
|
||||
lastname: string | null;
|
||||
birthDate: Date;
|
||||
birthDate: Date | null;
|
||||
genderId: string | null;
|
||||
bloodId: string | null;
|
||||
nationality: string | null;
|
||||
|
|
@ -135,7 +135,7 @@ const defaultInformation: Information = {
|
|||
prefixId: null,
|
||||
firstname: null,
|
||||
lastname: null,
|
||||
birthDate: new Date(),
|
||||
birthDate: null,
|
||||
genderId: null,
|
||||
bloodId: null,
|
||||
nationality: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue