[vscode] QuickPick.selectedItems is always undefined #5674
Labels
bug
bugs found in the application
quick-open
issues related to the quick-open
vscode
issues related to VSCode compatibility
Here's some sample code for a basic QuickPick created using
window.createQuickPick
In VS Code, when the user selects an item with click / enter, the onDidAccept callback is fired and I resolve with
qp.selectedItems
. But in Theia, this doesn't work becauseselectedItems
is alwaysundefined
. There is no error message in the logs.I can work around this because the callback for
onDidChangeSelection
does work in Theia (ieselected_
contains the correct result), but I wanted to make an issue for this missing API.The text was updated successfully, but these errors were encountered: