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 authored and moshloop committed Dec 25, 2024
1 parent b116104 commit 68dbd3b
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 68dbd3b

Please sign in to comment.