Skip to content

Commit

Permalink
fix: fix valid-by-default forms when file upload is expected
Browse files Browse the repository at this point in the history
  • Loading branch information
csm-thu committed Apr 22, 2024
1 parent a0d6ecd commit 2f931bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const DatasetCreationParameters = ({ dataSourceRunTemplates, parentDatase
if (inputType === 'string') defaultValue = '';
else if (inputType === 'enum') defaultValue = undefined;
else if (inputType === '%DATASETID%') {
defaultValue = {};
defaultValue = null;
} else {
console.error(`VarType "${inputType}" is not supported for ETL runner parameters.`);
return null;
Expand Down

0 comments on commit 2f931bb

Please sign in to comment.