Skip to content

[bug]: same field can be added to the form multiple times in workflow editor #8400

@csehatt741

Description

@csehatt741

Is there an existing issue for this problem?

  • I have searched the existing issues

Install method

Manual

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

RTX 2060

GPU VRAM

6GB

Version number

2a796fe

Browser

Edge

System Information

{
"version": "6.3.0rc1",
"dependencies": {
"absl-py" : "2.3.1",
"accelerate" : "1.9.0",
"annotated-types" : "0.7.0",
"ansicon" : "1.89.0",
"anyio" : "4.9.0",
"attrs" : "25.3.0",
"babel" : "2.17.0",
"backrefs" : "5.9",
"bidict" : "0.23.1",
"bitsandbytes" : "0.46.1",
"blake3" : "1.0.5",
"blessed" : "1.21.0",
"cattrs" : "25.1.1",
"certifi" : "2022.12.7",
"cffi" : "1.17.1",
"cfgv" : "3.4.0",
"charset-normalizer" : "2.1.1",
"click" : "8.2.1",
"codefind" : "0.1.7",
"colorama" : "0.4.6",
"coloredlogs" : "15.0.1",
"compel" : "2.1.1",
"contourpy" : "1.3.2",
"coverage" : "7.10.0",
"CUDA" : "12.8",
"cycler" : "0.12.1",
"Deprecated" : "1.2.18",
"diffusers" : "0.33.0",
"distlib" : "0.4.0",
"dnspython" : "2.7.0",
"dynamicprompts" : "0.31.0",
"einops" : "0.8.1",
"Faker" : "37.4.2",
"fastapi" : "0.116.1",
"fastapi-events" : "0.12.2",
"filelock" : "3.13.1",
"flatbuffers" : "25.2.10",
"fonttools" : "4.59.0",
"fsspec" : "2024.6.1",
"gguf" : "0.17.1",
"ghp-import" : "2.1.0",
"gitdb" : "4.0.12",
"GitPython" : "3.1.45",
"gprof2dot" : "2025.4.14",
"griffe" : "1.8.0",
"h11" : "0.16.0",
"httpcore" : "1.0.9",
"httptools" : "0.6.4",
"httpx" : "0.28.1",
"huggingface-hub" : "0.34.1",
"humanfriendly" : "10.0",
"humanize" : "4.12.1",
"identify" : "2.6.12",
"idna" : "3.4",
"importlib_metadata" : "8.7.0",
"iniconfig" : "2.1.0",
"invisible-watermark" : "0.2.0",
"InvokeAI" : "6.1.0",
"jax" : "0.7.0",
"jaxlib" : "0.7.0",
"jedi" : "0.19.2",
"Jinja2" : "3.1.4",
"jinxed" : "1.3.0",
"jurigged" : "0.6.1",
"kiwisolver" : "1.4.8",
"lsprotocol" : "2023.0.1",
"Markdown" : "3.8.2",
"MarkupSafe" : "2.1.5",
"matplotlib" : "3.10.3",
"mediapipe" : "0.10.14",
"mergedeep" : "1.3.4",
"mkdocs" : "1.6.1",
"mkdocs-autorefs" : "1.4.2",
"mkdocs-get-deps" : "0.2.0",
"mkdocs-git-revision-date-localized-plugin": "1.4.7",
"mkdocs-material" : "9.6.15",
"mkdocs-material-extensions" : "1.3.1",
"mkdocs-redirects" : "1.2.2",
"mkdocstrings" : "0.30.0",
"mkdocstrings-python" : "1.16.12",
"ml_dtypes" : "0.5.1",
"mpmath" : "1.3.0",
"mypy" : "1.17.0",
"mypy-extensions" : "1.0.0",
"networkx" : "3.3",
"nodeenv" : "1.9.1",
"numpy" : "1.26.3",
"onnx" : "1.16.1",
"onnxruntime" : "1.19.2",
"opencv-contrib-python" : "4.11.0.86",
"opt_einsum" : "3.4.0",
"ovld" : "0.5.7",
"packaging" : "24.1",
"paginate" : "0.5.7",
"parso" : "0.8.4",
"pathspec" : "0.12.1",
"picklescan" : "0.0.26",
"pillow" : "11.0.0",
"platformdirs" : "4.3.8",
"pluggy" : "1.6.0",
"polyfactory" : "2.19.0",
"pre_commit" : "4.2.0",
"prompt_toolkit" : "3.0.51",
"protobuf" : "4.25.8",
"psutil" : "7.0.0",
"pudb" : "2025.1",
"pycparser" : "2.22",
"pydantic" : "2.11.7",
"pydantic-settings" : "2.10.1",
"pydantic_core" : "2.33.2",
"pygls" : "1.3.1",
"Pygments" : "2.19.2",
"pymdown-extensions" : "10.16",
"pyparsing" : "3.2.3",
"PyPatchMatch" : "1.0.2",
"pyreadline3" : "3.5.4",
"pytest" : "8.4.1",
"pytest-cov" : "6.2.1",
"pytest-datadir" : "1.7.2",
"pytest-timeout" : "2.4.0",
"python-dateutil" : "2.9.0.post0",
"python-dotenv" : "1.1.1",
"python-engineio" : "4.12.2",
"python-multipart" : "0.0.20",
"python-socketio" : "5.13.0",
"pytz" : "2025.2",
"PyWavelets" : "1.8.0",
"PyYAML" : "6.0.2",
"pyyaml_env_tag" : "1.1",
"regex" : "2024.11.6",
"requests" : "2.28.1",
"requests-testadapter" : "0.3.0",
"ruff" : "0.11.13",
"ruff-lsp" : "0.0.62",
"safetensors" : "0.5.3",
"scipy" : "1.16.0",
"semver" : "3.0.4",
"sentencepiece" : "0.2.0",
"setuptools" : "70.2.0",
"simple-websocket" : "1.1.0",
"six" : "1.17.0",
"smmap" : "5.0.2",
"snakeviz" : "2.2.2",
"sniffio" : "1.3.1",
"sounddevice" : "0.5.2",
"spandrel" : "0.4.1",
"starlette" : "0.47.2",
"sympy" : "1.13.3",
"tokenizers" : "0.21.2",
"torch" : "2.7.1+cu128",
"torchsde" : "0.2.6",
"torchvision" : "0.22.1+cu128",
"tornado" : "6.5.1",
"tqdm" : "4.66.5",
"trampoline" : "0.1.2",
"transformers" : "4.54.0",
"typing-inspection" : "0.4.1",
"typing_extensions" : "4.12.2",
"tzdata" : "2025.2",
"urllib3" : "1.26.13",
"urwid" : "3.0.2",
"urwid_readline" : "0.15.1",
"uvicorn" : "0.35.0",
"virtualenv" : "20.32.0",
"watchdog" : "6.0.0",
"watchfiles" : "1.1.0",
"wcwidth" : "0.2.13",
"websockets" : "15.0.1",
"wrapt" : "1.17.2",
"wsproto" : "1.2.0",
"xformers" : "0.0.31.post1",
"zipp" : "3.23.0"
},
"config": {
"schema_version": "4.0.2",
"legacy_models_yaml_path": null,
"host": "127.0.0.1",
"port": 9090,
"allow_origins": [],
"allow_credentials": true,
"allow_methods": [""],
"allow_headers": ["
"],
"ssl_certfile": null,
"ssl_keyfile": null,
"log_tokenization": false,
"patchmatch": true,
"models_dir": "models",
"convert_cache_dir": "models\.convert_cache",
"download_cache_dir": "models\.download_cache",
"legacy_conf_dir": "configs",
"db_dir": "databases",
"outputs_dir": "outputs",
"custom_nodes_dir": "nodes",
"style_presets_dir": "style_presets",
"workflow_thumbnails_dir": "workflow_thumbnails",
"log_handlers": ["console"],
"log_format": "color",
"log_level": "info",
"log_sql": false,
"log_level_network": "warning",
"use_memory_db": false,
"dev_reload": false,
"profile_graphs": false,
"profile_prefix": null,
"profiles_dir": "profiles",
"max_cache_ram_gb": null,
"max_cache_vram_gb": null,
"log_memory_usage": false,
"device_working_mem_gb": 3,
"enable_partial_loading": true,
"keep_ram_copy_of_weights": true,
"ram": null,
"vram": null,
"lazy_offload": true,
"pytorch_cuda_alloc_conf": "backend:cudaMallocAsync",
"device": "auto",
"precision": "auto",
"sequential_guidance": false,
"attention_type": "auto",
"attention_slice_size": "auto",
"force_tiled_decode": false,
"pil_compress_level": 1,
"max_queue_size": 10000,
"clear_queue_on_startup": false,
"allow_nodes": null,
"deny_nodes": null,
"node_cache_size": 512,
"hashing_algorithm": "blake3_single",
"remote_api_tokens": null,
"scan_models_on_startup": false
},
"set_config_fields": ["enable_partial_loading", "legacy_models_yaml_path", "pytorch_cuda_alloc_conf"]
}

What happened

Add to Form icon in node field can be clicked multiple times even if the field has already been added to the form and multiple copies of the field appear in the form.

Image

What you expected to happen

When the field has already been added to the form then the Add to Form icon is disabled.

How to reproduce the problem

No response

Additional context

No response

Discord username

attila_00898

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions