Skip to content

Commit a3f8f32

Browse files
committed
Use readOnly for the hasCustomClient checkbox, not disabled
1 parent d142a98 commit a3f8f32

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/webapp/app/components/integrations/ConnectToOAuthForm.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,16 +127,17 @@ export function ConnectToOAuthForm({
127127
id="hasCustomClient"
128128
label="Use my OAuth App"
129129
variant="simple/small"
130-
disabled={requiresCustomOAuthApp}
130+
readOnly={requiresCustomOAuthApp}
131131
onChange={(checked) => setUseMyOAuthApp(checked)}
132132
{...conform.input(hasCustomClient, { type: "checkbox" })}
133133
defaultChecked={requiresCustomOAuthApp}
134134
/>
135135
{useMyOAuthApp && (
136136
<div className="ml-6 mt-2">
137137
<Paragraph variant="small" className="mb-2">
138-
Set the callback url to <CodeBlock code={callbackUrl} showLineNumbers={false} />
138+
Set the callback url to
139139
</Paragraph>
140+
<CodeBlock code={callbackUrl} showLineNumbers={false} />
140141
<div className="flex flex-col gap-2">
141142
<div className="flex gap-2">
142143
<InputGroup fullWidth>

0 commit comments

Comments
 (0)