Skip to content

Commit

Permalink
disable checkbox when form is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mastercactapus committed Feb 8, 2024
1 parent 846965b commit 3b8f067
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/app/users/UserContactMethodFormDest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ export default function UserContactMethodFormDest(
name='enableStatusUpdates'
disabled={
!currentType.supportsStatusUpdates ||
currentType.statusUpdatesRequired
currentType.statusUpdatesRequired ||
props.disabled
}
checked={statusUpdateChecked}
onChange={(v) =>
Expand Down

0 comments on commit 3b8f067

Please sign in to comment.