mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-05-06 08:26:45 -03:00
- Replace custom onSetValue with ComfyUI's built-in widget.callback - Remove widget.updateConfig, set widget.value directly - Add isRestoring flag to break callback → watch → refreshPreview loop - Update ComponentWidget types with callback and deprecate old methods Refs: docs/dom-widgets/value-persistence-best-practices.md