We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 341791f + f0824f5 commit a52644eCopy full SHA for a52644e
1 file changed
src/frontend/src/pages/FinancePage/ReimbursementRequestForm/ReimbursementFormView.tsx
@@ -271,6 +271,14 @@ const ReimbursementRequestFormView: React.FC<ReimbursementRequestFormViewProps>
271
value={value}
272
disabled={!selectedExpenseType}
273
error={!!errors.account}
274
+ displayEmpty
275
+ renderValue={() => {
276
+ return value ? (
277
+ <Typography>{codeAndRefundSourceName(value)} </Typography>
278
+ ) : (
279
+ <Typography style={{ color: 'gray' }}>Select Refund Source</Typography>
280
+ );
281
+ }}
282
>
283
{refundSources.map((refundSource) => (
284
<MenuItem key={refundSource} value={refundSource}>
0 commit comments