Skip to content

Commit f0824f5

Browse files
#1874 added placeholder for refund source
1 parent d20145f commit f0824f5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,14 @@ const ReimbursementRequestFormView: React.FC<ReimbursementRequestFormViewProps>
253253
value={value}
254254
disabled={!selectedExpenseType}
255255
error={!!errors.account}
256+
displayEmpty
257+
renderValue={() => {
258+
return value ? (
259+
<Typography>{codeAndRefundSourceName(value)} </Typography>
260+
) : (
261+
<Typography style={{ color: 'gray' }}>Select Refund Source</Typography>
262+
);
263+
}}
256264
>
257265
{refundSources.map((refundSource) => (
258266
<MenuItem key={refundSource} value={refundSource}>

0 commit comments

Comments
 (0)