fix : estimate date

This commit is contained in:
elforjani3
2020-12-20 14:23:48 +02:00
parent 2cd6553075
commit 8035fa3466

View File

@@ -83,7 +83,7 @@ function EstimateFormHeader({
{...momentFormatter('YYYY/MM/DD')}
value={tansformDateValue(value)}
onChange={handleDateChange((formattedDate) => {
form.setFieldValue('estimate_date', formatMessage);
form.setFieldValue('estimate_date', formattedDate);
})}
popoverProps={{ position: Position.BOTTOM, minimal: true }}
inputProps={{