diff --git a/frontend/src/components/NewRunParametersV2.tsx b/frontend/src/components/NewRunParametersV2.tsx index 1fced87abf7..003873e9a8c 100644 --- a/frontend/src/components/NewRunParametersV2.tsx +++ b/frontend/src/components/NewRunParametersV2.tsx @@ -205,7 +205,7 @@ function NewRunParametersV2(props: NewRunParametersProps) { let allParamtersWithDefault = true; let errMsg: string[] = []; Object.keys(specParameters).forEach(key => { - if (specParameters[key].defaultValue) { + if (specParameters[key].defaultValue !== undefined) { // TODO(zijianjoy): Make sure to consider all types of parameters. // Convert default value to string type first to avoid error from convertInput runtimeParametersWithDefault[key] = convertNonUserInputParamToString(