mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
add ignoreFocusOut option to showInputBox and showQuickPick, #9918
This commit is contained in:
@@ -35,7 +35,8 @@ export class ExtHostQuickOpen extends ExtHostQuickOpenShape {
|
||||
autoFocus: { autoFocusFirstEntry: true },
|
||||
placeHolder: options && options.placeHolder,
|
||||
matchOnDescription: options && options.matchOnDescription,
|
||||
matchOnDetail: options && options.matchOnDetail
|
||||
matchOnDetail: options && options.matchOnDetail,
|
||||
ignoreFocusLost: options && options.ignoreFocusOut
|
||||
});
|
||||
|
||||
const promise = itemsPromise.then(items => {
|
||||
|
||||
@@ -83,6 +83,7 @@ export class MainThreadQuickOpen extends MainThreadQuickOpenShape {
|
||||
inputOptions.placeHolder = options.placeHolder;
|
||||
inputOptions.prompt = options.prompt;
|
||||
inputOptions.value = options.value;
|
||||
inputOptions.ignoreFocusLost = options.ignoreFocusOut;
|
||||
}
|
||||
|
||||
if (validateInput) {
|
||||
|
||||
Reference in New Issue
Block a user