8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e0fc6e commit 766277cCopy full SHA for 766277c
site/src/pages/CreateWorkspacePage/CreateWorkspacePageViewExperimental.tsx
@@ -516,7 +516,18 @@ export const CreateWorkspacePageViewExperimental: FC<
516
<div className="flex flex-row justify-end">
517
<Button
518
type="submit"
519
- disabled={creatingWorkspace || !hasAllRequiredExternalAuth}
+ disabled={
520
+ creatingWorkspace ||
521
+ !hasAllRequiredExternalAuth ||
522
+ diagnostics.some(
523
+ (diagnostic) => diagnostic.severity === "error",
524
+ ) ||
525
+ parameters.some((parameter) =>
526
+ parameter.diagnostics.some(
527
528
+ ),
529
+ )
530
+ }
531
>
532
<Spinner loading={creatingWorkspace} />
533
Create workspace
0 commit comments