Skip to content

Commit

Permalink
Merge pull request #505 from OpenSourceBrain/fix/issue-464
Browse files Browse the repository at this point in the history
feat(user-editor): disable username field (fixes #464)
  • Loading branch information
filippomc authored May 31, 2022
2 parents e161288 + 7b6ed8d commit 27d0a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/osb-portal/src/components/user/UserEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export default (props: UserEditProps) => {
</Box>
<Box mb={1} mt={1}>
<Typography component="label" variant="h6">Username</Typography>
<TextField error={props.error.username} helperText={props.error.username} className={classes.textFieldWithIcon} fullWidth={true} onChange={setProfileUserName} variant="outlined" defaultValue={props.profileForm.username} InputProps={{
<TextField disabled={true} error={props.error.username} helperText={props.error.username} className={classes.textFieldWithIcon} fullWidth={true} onChange={setProfileUserName} variant="outlined" defaultValue={props.profileForm.username} InputProps={{
startAdornment: (
<Box className={classes.inputIconBox}>
<AlternateEmail fontSize="small" />
Expand Down

0 comments on commit 27d0a8d

Please sign in to comment.