mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 22:37:32 +00:00
Auto select value in prompt.
This commit is contained in:
@@ -11360,6 +11360,7 @@ LGraphNode.prototype.executeAction = function(action)
|
||||
name_element.innerText = title;
|
||||
var value_element = dialog.querySelector(".value");
|
||||
value_element.value = value;
|
||||
value_element.select();
|
||||
|
||||
var input = value_element;
|
||||
input.addEventListener("keydown", function(e) {
|
||||
|
||||
Reference in New Issue
Block a user