Resolved issues on time ticket modal IO-563

This commit is contained in:
Patrick Fic
2021-02-04 18:15:00 -08:00
parent 9993d76709
commit ef03a6cd42
5 changed files with 13 additions and 16 deletions

View File

@@ -95,7 +95,8 @@ export function TimeTicketModalContainer({
if (enterAgain) {
//Capture the existing information and repopulate it.
const prev = form.getFieldsValue(["jobid", "employeeid", "date"]);
const prev = form.getFieldsValue(["date"]);
form.resetFields();
form.setFieldsValue(prev);
} else {