@@ -21,7 +21,6 @@ let pluginNameTextField: VscodeTextfield;
21
21
let pluginTypeDropdown : VscodeSingleSelect ;
22
22
23
23
let pluginNameInputField : HTMLInputElement ;
24
- let collectionPathUrlInputField : HTMLInputElement ;
25
24
26
25
let collectionPathUrlTextField : VscodeTextfield ;
27
26
let folderExplorerIcon : VscodeIcon ;
@@ -78,10 +77,6 @@ function main() {
78
77
pluginNameInputField = pluginNameTextField . shadowRoot ?. querySelector (
79
78
"#input" ,
80
79
) as HTMLInputElement ;
81
- collectionPathUrlInputField =
82
- collectionPathUrlTextField . shadowRoot ?. querySelector (
83
- "#input" ,
84
- ) as HTMLInputElement ;
85
80
86
81
pluginNameTextField . addEventListener ( "input" , toggleCreateButton ) ;
87
82
collectionPathUrlTextField . addEventListener ( "input" , toggleCreateButton ) ;
@@ -135,7 +130,7 @@ function openExplorer(event: any) {
135
130
136
131
if ( selectedUri ) {
137
132
if ( source === "folder-explorer" ) {
138
- collectionPathUrlInputField . value = selectedUri ;
133
+ collectionPathUrlTextField . value = selectedUri ;
139
134
initCollectionPathElement . innerHTML = selectedUri ;
140
135
}
141
136
}
@@ -147,7 +142,7 @@ function openExplorer(event: any) {
147
142
function handleInitClearClick ( ) {
148
143
pluginNameInputField . value = "" ;
149
144
pluginTypeDropdown . value = "filter" ;
150
- collectionPathUrlInputField . value = "" ;
145
+ collectionPathUrlTextField . value = "" ;
151
146
152
147
initCollectionPathElement . innerHTML =
153
148
collectionPathUrlTextField . placeholder as string ;
0 commit comments