Skip to content

Commit 5b78cec

Browse files
author
Amine Afia
committed
add input type to API playground
1 parent bdb27e4 commit 5b78cec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/dashboard/src/app/team/[team_slug]/[project_slug]/insight/[blueprint_slug]/blueprint-playground.client.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ function ParameterSection(props: {
526526
<>
527527
<Input
528528
{...field}
529+
type={param.type === "string" ? "text" : "number"}
529530
className={cn(
530531
"h-auto truncate rounded-none border-0 bg-transparent py-3 font-mono text-sm focus-visible:ring-0 focus-visible:ring-offset-0",
531532
param.description && "lg:pr-10",

0 commit comments

Comments
 (0)