We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d20145f commit f0824f5Copy full SHA for f0824f5
1 file changed
src/frontend/src/pages/FinancePage/ReimbursementRequestForm/ReimbursementFormView.tsx
@@ -253,6 +253,14 @@ const ReimbursementRequestFormView: React.FC<ReimbursementRequestFormViewProps>
253
value={value}
254
disabled={!selectedExpenseType}
255
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
+ }}
264
>
265
{refundSources.map((refundSource) => (
266
<MenuItem key={refundSource} value={refundSource}>
0 commit comments