Skip to content

Commit

Permalink
ignoreFocusOut for device add/modify
Browse files Browse the repository at this point in the history
  • Loading branch information
DumpySquare committed Sep 15, 2020
1 parent 0e6a78b commit 6f0bb8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ export function activate(context: vscode.ExtensionContext) {

vscode.window.showInputBox({
prompt: 'Update Device/BIG-IP/Host',
value: hostID.label
value: hostID.label,
ignoreFocusOut: true
})
.then( input => {

Expand Down
3 changes: 2 additions & 1 deletion src/treeViewsProviders/hostsTreeProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ export class F5TreeProvider implements vscode.TreeDataProvider<F5Host> {
// attempt to get user to input new device
newHost = await vscode.window.showInputBox({
prompt: 'Device/BIG-IP/Host',
placeHolder: '<user>@<host/ip>'
placeHolder: '<user>@<host/ip>',
ignoreFocusOut: true
})
.then( el => {
if(el) {
Expand Down

0 comments on commit 6f0bb8f

Please sign in to comment.