Virtual list in dropdowns
This commit is contained in:
@@ -219,6 +219,11 @@ export type AttributesSpec = {
|
||||
*/
|
||||
max?: number,
|
||||
|
||||
/*
|
||||
* If `type` is "string", display as a textarea.
|
||||
*/
|
||||
multiline?: boolean,
|
||||
|
||||
/*
|
||||
* Valid `LGraphNode.type`s this property applies to if it's located in a node.
|
||||
* These are like "ui/button", "ui/slider".
|
||||
@@ -386,6 +391,17 @@ const ALL_ATTRIBUTES: AttributesSpecList = [
|
||||
defaultValue: "large"
|
||||
},
|
||||
|
||||
// Combo
|
||||
{
|
||||
name: "convertValueToLabelCode",
|
||||
type: "string",
|
||||
location: "nodeProps",
|
||||
editable: true,
|
||||
multiline: true,
|
||||
validNodeTypes: ["ui/combo"],
|
||||
defaultValue: ""
|
||||
},
|
||||
|
||||
// Gallery
|
||||
{
|
||||
name: "variant",
|
||||
|
||||
Reference in New Issue
Block a user