diff --git a/src/app/(main)/report/AsyncItemCodeAutocomplete.tsx b/src/app/(main)/report/AsyncItemCodeAutocomplete.tsx index 966b3a54..1c17e96d 100644 --- a/src/app/(main)/report/AsyncItemCodeAutocomplete.tsx +++ b/src/app/(main)/report/AsyncItemCodeAutocomplete.tsx @@ -192,7 +192,6 @@ const AsyncItemCodeAutocomplete: React.FC = ({ }, }} onInputChange={(_, next, reason) => { - if (reason === "blur") return; if (reason === "reset") { setInputValue(""); onInputValueChange?.(""); diff --git a/src/app/(main)/report/page.tsx b/src/app/(main)/report/page.tsx index 165392fc..cc254264 100644 --- a/src/app/(main)/report/page.tsx +++ b/src/app/(main)/report/page.tsx @@ -767,7 +767,6 @@ export default function ReportPage() { pendingItemCodeInputRef.current[field.name] = ""; return; } - if (reason === "blur") return; pendingItemCodeInputRef.current[field.name] = input; }} onChange={(event, newValue, reason) => {