Skip to content

Commit

Permalink
fix(admin-ui): edit field value delete
Browse files Browse the repository at this point in the history
  • Loading branch information
mjatin-dev committed Jun 20, 2022
1 parent 580f145 commit e709a51
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ function UserEditPage() {
onSubmit: (values) => {
submitData(values)
},
setFieldValue: (field) => {
delete values[field]
},
})
return (
<React.Fragment>
Expand Down

0 comments on commit e709a51

Please sign in to comment.