Skip to content

Widget Defaults values are not applied to newly created nodesΒ #516

@nanae772

Description

@nanae772

It seems that the default values set via Widget Defaults are not applied correctly.

I followed the same steps shown in the README image and tried to set the default value of steps for the KSampler node to 30,
but the value was not reflected when creating a new node.

Steps to reproduce

  1. Open Settings β†’ pyssss
  2. Click Manage under 🐍 Widget & Property Defaults
  3. Click Add New and save with the following settings:
    • Node Class: KSampler
    • Widget Name: steps
    • Default Value: 30
  4. Add a new KSampler node to the workflow
widget_defaults_not_applied.mp4

Expected behavior

The steps value of a newly created KSampler node should be set to 30 by default.

Actual behavior

The steps value remains unchanged (original default value), and the configured default is not applied.

What I tried

  • Restarting ComfyUI
  • Restarting the browser

Neither resolved the issue.

Versions

  • ComfyUI-Custom-Script: 1.2.5
  • ComfyUI: 0.6.0
  • ComfyUI_frontend: 1.34.9
  • ComfyUI-Manager: 3.39

Thank you for maintaining this great extension and for your continued work on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions