From df111292912cb9ff26c70f184318b192c60ba696 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Mon, 13 Sep 2021 19:15:21 -0600 Subject: [PATCH] ui(admin): fix UserForm not allowing null role --- resources/scripts/components/admin/users/UserForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/scripts/components/admin/users/UserForm.tsx b/resources/scripts/components/admin/users/UserForm.tsx index 351d094e..72894d51 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, }; }