SwarmUI
SwarmUI copied to clipboard
Default preset settings/parameter defaults will not apply to parameters which have their values filled at backend load
Expected Behavior
Parameter defaults and default preset overrides should be applied after the backends load if the value is in the dropdown at the time.
Actual Behavior
If you load the page while backends are loading parameters pick the first value in the dropdown at that moment, this is not fixed when the backend finishes loading though you can apply it by manually running "Reset Params to Defaults"
Steps to Reproduce
- Create a default preset overriding the
ControlNet Preprocessor
parameter with a value, this parameter has this issue as it starts with the value "None" and gets the rest of its values resolved when the backends load - Reboot the server and load the SwarmUI page before the backend loads, the parameter will default to "None"
- When the backend finishes loading the parameter will stay "None" even through the default you picked exists in the updated list
Debug Logs
https://paste.denizenscript.com/View/127226
Other
No response