diff --git a/src/client-scopes/details/ScopeForm.tsx b/src/client-scopes/details/ScopeForm.tsx index 0b489430e4..deb3538af6 100644 --- a/src/client-scopes/details/ScopeForm.tsx +++ b/src/client-scopes/details/ScopeForm.tsx @@ -51,6 +51,8 @@ export const ScopeForm = ({ clientScope, save }: ScopeFormProps) => { const displayOnConsentScreen = useWatch({ control, name: "attributes.display.on.consent.screen", + defaultValue: + clientScope.attributes?.["display.on.consent.screen"] ?? "true", }); useEffect(() => { @@ -202,7 +204,7 @@ export const ScopeForm = ({ clientScope, save }: ScopeFormProps) => { (