Skip to content

Commit

Permalink
react-native: remove isActive from user form
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmet-erim committed Jan 20, 2022
1 parent 26560a5 commit cb6cc55
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ function CreateUpdateUserForm({ editingUser = {}, submit, remove }) {
password: passwordValidation,
}),
initialValues: {
isActive: true,
lockoutEnabled: false,
...editingUser,
},
Expand Down Expand Up @@ -230,19 +229,6 @@ function CreateUpdateUserForm({ editingUser = {}, submit, remove }) {
</FormControl>
) : null}

<FormControl my="2">
<Stack mx="4">
<Checkbox
isChecked={formik.values.isActive}
onPress={() =>
formik.setFieldValue('isActive', !formik.values.isActive)
}
>
{i18n.t('AbpIdentity::DisplayName:IsActive')}
</Checkbox>
</Stack>
</FormControl>

<FormControl my="2">
<Stack mx="4">
<Checkbox
Expand Down

0 comments on commit cb6cc55

Please sign in to comment.