Skip to content

Commit

Permalink
GUI WDL Enhancements (#3369): task input default parameters as input …
Browse files Browse the repository at this point in the history
…placeholder
  • Loading branch information
AleksandrGorodetskii authored and rodichenko committed Sep 20, 2023
1 parent 94dc8c8 commit 8116851
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class WdlParameter extends React.Component {
if (!property) {
return null;
}
const defaultValue = parameter.executableParameter?.value;
const Component = component || Input;
return [
title ? (
Expand All @@ -85,7 +86,7 @@ class WdlParameter extends React.Component {
className={className}
style={style}
disabled={disabled}
placeholder={placeholder}
placeholder={defaultValue || placeholder}
/>
];
};
Expand Down

0 comments on commit 8116851

Please sign in to comment.