|
|
@@ -67,11 +67,11 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue |
|
|
|
}, [maxDate]); |
|
|
|
|
|
|
|
React.useEffect(() => { |
|
|
|
setFromDueDateValue(minDueDate); |
|
|
|
setFromDueDateValue(minDueDate??"dd / mm / yyyy"); |
|
|
|
}, [minDueDate]); |
|
|
|
|
|
|
|
React.useEffect(() => { |
|
|
|
setToDueDateValue(maxDueDate); |
|
|
|
setToDueDateValue(maxDueDate??"dd / mm / yyyy"); |
|
|
|
}, [maxDueDate]); |
|
|
|
|
|
|
|
function FormDateInputComponent({ inputRef, ...props }) { |
|
|
@@ -219,6 +219,8 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue |
|
|
|
setOrgSelected({}); |
|
|
|
setIssueSelected({}); |
|
|
|
setSelectedStatus(ComboData.denmandNoteStatus[0]); |
|
|
|
setFromDueDateValue("dd / mm / yyyy"); |
|
|
|
setToDueDateValue("dd / mm / yyyy"); |
|
|
|
reset(); |
|
|
|
} |
|
|
|
|
|
|
|