Fixed use directive
This commit is contained in:
@@ -19,12 +19,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function selectInput() {
|
function selectInput(_?: HTMLElement): void {
|
||||||
await tick()
|
tick()
|
||||||
elInput.focus()
|
.then(() => {
|
||||||
await tick()
|
elInput.focus()
|
||||||
elInput.select()
|
return tick()
|
||||||
await tick()
|
})
|
||||||
|
.then(() => {
|
||||||
|
elInput.select()
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const debouncedOnInput = debounce(() => {
|
const debouncedOnInput = debounce(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user