Skip to content

Commit

Permalink
Set created in field to read only
Browse files Browse the repository at this point in the history
  • Loading branch information
davecreaser committed Jul 9, 2024
1 parent 8452285 commit 180f1d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const TransferFundsForm: FC<ActionFormBaseProps> = ({ getFormOptions }) => {
const selectedTeam = watch('from');

const hasNoDecisionMethods = useHasNoDecisionMethods();
const createdInFilterFn = useFilterCreatedInField('from');
const createdInFilterFn = useFilterCreatedInField('from', true);

return (
<>
Expand Down Expand Up @@ -71,7 +71,7 @@ const TransferFundsForm: FC<ActionFormBaseProps> = ({ getFormOptions }) => {
/>

<DecisionMethodField />
<CreatedIn filterOptionsFn={createdInFilterFn} />
<CreatedIn readonly filterOptionsFn={createdInFilterFn} />
<Description />
</>
);
Expand Down

0 comments on commit 180f1d9

Please sign in to comment.