diff --git a/resources/scripts/components/admin/users/UserForm.tsx b/resources/scripts/components/admin/users/UserForm.tsx index 351d094ea..72894d511 100644 --- a/resources/scripts/components/admin/users/UserForm.tsx +++ b/resources/scripts/components/admin/users/UserForm.tsx @@ -46,7 +46,7 @@ export default function UserForm ({ title, initialValues, children, onSubmit, ro username: '', email: '', password: '', - adminRoleId: 0, + adminRoleId: null, rootAdmin: false, }; }