Merge pull request #198 from nathanArseneau/error-when-switching-Tools-without-changing-value
fix: set default value for input fields in ToolsTab component
This commit is contained in:
commit
f8b7b88a25
1 changed files with 1 additions and 0 deletions
|
|
@ -233,6 +233,7 @@ const ToolsTab = ({
|
|||
id={key}
|
||||
name={key}
|
||||
placeholder={prop.description}
|
||||
value={(params[key] as string) ?? ""}
|
||||
onChange={(e) =>
|
||||
setParams({
|
||||
...params,
|
||||
|
|
|
|||
Loading…
Reference in a new issue