File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 4040 </div >
4141</template >
4242
43- <script setup lang="js" >
43+ <script setup>
4444import {
4545 ref ,
4646 defineExpose ,
@@ -104,6 +104,7 @@ const props = defineProps({
104104 },
105105
106106 helpText: {
107+ default: null ,
107108 required: false ,
108109 type: String
109110 },
Original file line number Diff line number Diff line change 2323 @keydown.ctrl.r.exact.prevent =" reverseISearch"
2424 @keyup.arrow-left.exact =" setCursorPosition($refs.queryRef.selectionStart)"
2525 @keyup.arrow-right.exact =" setCursorPosition($refs.queryRef.selectionStart)"
26- @keyup.enter.exact =" submit" / >
26+ @keyup.enter.exact =" submit" >
2727 </div >
2828</template >
2929
30- <script setup lang="js" >
30+ <script setup>
3131import {
3232 ref ,
3333 onMounted ,
@@ -138,6 +138,8 @@ const autocompleteQuery = async () => {
138138 appendToHistory (createStdout (listFormatter (... commands)))
139139
140140 // We have to wait for the query to be loaded
141+ // TODO Maybe listen to some event, indicating that the query has been
142+ // mounted
141143 await nextTick ()
142144
143145 // Overwrite new query with old one
You can’t perform that action at this time.
0 commit comments