Skip to content

Commit 7eac6c3

Browse files
committed
#1507 Dropdown box clears itself
1 parent 0f8829e commit 7eac6c3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/frontend/src/pages/FinancePage/ReimbursementRequestForm/ReimbursementProductTable.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,7 @@ const ReimbursementProductTable: React.FC<ReimbursementProductTableProps> = ({
163163
sx={{ my: 1 }}
164164
options={wbsElementAutocompleteOptions}
165165
onChange={(_event, value) => {
166-
if (value) {
167-
appendProduct({ wbsNum: validateWBS(value.id), name: '', cost: 0 });
168-
}
166+
if (value) appendProduct({ wbsNum: validateWBS(value.id), name: '', cost: 0 });
169167
}}
170168
value={null}
171169
blurOnSelect={true}

0 commit comments

Comments
 (0)