fix new client scope default type value (#2139)

This commit is contained in:
ikhomyn 2022-02-24 12:43:09 +01:00 committed by GitHub
parent ac66f8ed5c
commit 36bb8e2ecd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -122,7 +122,7 @@ export const ScopeForm = ({ clientScope, save }: ScopeFormProps) => {
> >
<Controller <Controller
name="type" name="type"
defaultValue="" defaultValue={allClientScopeTypes[0]}
control={control} control={control}
render={({ onChange, value }) => ( render={({ onChange, value }) => (
<Select <Select