Skip to content

Commit

Permalink
Fix a bug with task fields (#1367)
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng authored Dec 10, 2024
1 parent 677d852 commit 33b8bc6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {
onIconClick={() => {
setParametersPanelField("url");
}}
onChange={(value) => {
handleChange("url", value);
onChange={(event) => {
handleChange("url", event.target.value);
}}
value={inputs.url}
placeholder={placeholders["task"]["url"]}
Expand All @@ -145,8 +145,8 @@ function TaskNode({ id, data }: NodeProps<TaskNode>) {
onIconClick={() => {
setParametersPanelField("navigationGoal");
}}
onChange={(value) => {
handleChange("navigationGoal", value);
onChange={(event) => {
handleChange("navigationGoal", event.target.value);
}}
value={inputs.navigationGoal}
placeholder={placeholders["task"]["navigationGoal"]}
Expand Down

0 comments on commit 33b8bc6

Please sign in to comment.