Fix a bug with task fields (#1367)

This commit is contained in:
Shuchang Zheng 2024-12-10 13:29:34 -08:00 committed by GitHub
parent 677d85283e
commit 33b8bc60ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]}
@ -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"]}