Skip to content

Commit

Permalink
feat(playbook): better parameter default handling
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed Dec 25, 2024
1 parent b116104 commit c05e059
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export default function PlaybookParamsFieldsRenderer({
/>
);
case "text":
default:
if (params.properties?.multiline) {
return (
<FormikTextArea
Expand Down Expand Up @@ -151,9 +152,5 @@ export default function PlaybookParamsFieldsRenderer({
required={required}
/>
);
default:
return (
<FormikTextInput name={`params.${fieldName}`} required={required} />
);
}
}

0 comments on commit c05e059

Please sign in to comment.