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 7a0425c commit 81709a1Copy full SHA for 81709a1
components/runCards/JobCard/JobModal.tsx
@@ -169,7 +169,10 @@ export const JobModal = ({
169
DialogProps={{ maxWidth: "md", fullWidth: true }}
170
id={`job-${jobId}`}
171
open={open}
172
- submitDisabled={!formRef.current?.validateForm() || !inputsValid}
+ submitDisabled={
173
+ (formRef.current?.validateForm() !== undefined && !formRef.current?.validateForm()) ||
174
+ !inputsValid
175
+ }
176
submitText="Run"
177
title={job?.name ?? "Run Job"}
178
onClose={onClose}
0 commit comments