Skip to content

Commit f8b7b88

Browse files
authored
Merge pull request #198 from nathanArseneau/error-when-switching-Tools-without-changing-value
fix: set default value for input fields in ToolsTab component
2 parents 2890e03 + 029e482 commit f8b7b88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/src/components/ToolsTab.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ const ToolsTab = ({
233233
id={key}
234234
name={key}
235235
placeholder={prop.description}
236+
value={(params[key] as string) ?? ""}
236237
onChange={(e) =>
237238
setParams({
238239
...params,

0 commit comments

Comments
 (0)