mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-05 16:03:47 +00:00
fix: add setValue support for tables
This commit is contained in:
@@ -383,6 +383,11 @@
|
||||
} else {
|
||||
e.api.getRowNode(index.toString())?.setSelected(true)
|
||||
}
|
||||
},
|
||||
setValue(nvalue) {
|
||||
if (Array.isArray(nvalue)) {
|
||||
value = nvalue
|
||||
}
|
||||
}
|
||||
}
|
||||
api = e.api
|
||||
|
||||
@@ -250,6 +250,12 @@
|
||||
if (filteredResult) {
|
||||
toggleRow({ original: filteredResult[index] }, true)
|
||||
}
|
||||
},
|
||||
setValue(nvalue) {
|
||||
if (Array.isArray(nvalue)) {
|
||||
result = nvalue
|
||||
outputs?.result.set(nvalue)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user