File tree Expand file tree Collapse file tree
src/frontend/src/pages/FinancePage/ReimbursementRequestForm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -654,6 +654,9 @@ const ReimbursementRequestFormView: React.FC<ReimbursementRequestFormViewProps>
654654 '& .MuiOutlinedInput-root' : {
655655 borderRadius : '20px' ,
656656 color : '#989898'
657+ } ,
658+ '& .MuiOutlinedInput-input' : {
659+ color : '#ffffff'
657660 }
658661 } }
659662 onClose = { ( ) => setDatePickerOpen ( false ) }
@@ -665,8 +668,14 @@ const ReimbursementRequestFormView: React.FC<ReimbursementRequestFormViewProps>
665668 textField : {
666669 error : ! ! errors . dateOfExpense ,
667670 helperText : errors . dateOfExpense ?. message ,
668- onClick : ( ) => setDatePickerOpen ( true ) ,
669- inputProps : { readOnly : true }
671+ InputProps : {
672+ onClick : ( e ) => {
673+ const target = e . target as HTMLElement ;
674+ if ( target . closest ( 'button' ) ) {
675+ setDatePickerOpen ( true ) ;
676+ }
677+ }
678+ }
670679 }
671680 } }
672681 />
You can’t perform that action at this time.
0 commit comments