mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-02-01 14:44:05 +00:00
fix(typing): ensure HTMLElement refs (#918)
This commit is contained in:
committed by
GitHub
parent
4739be04f6
commit
40fb4b214e
@@ -24,9 +24,9 @@ const state = ref<StateType>('unfocused')
|
||||
const val = ref<string>('')
|
||||
const model = defineModel<string>()
|
||||
|
||||
const suggestionScrollerRef = ref<HTMLInputElement | null>(null)
|
||||
const containerRef = ref<HTMLInputElement | null>(null)
|
||||
const editorRef = ref<HTMLInputElement | null>(null)
|
||||
const suggestionScrollerRef = ref<HTMLElement | null>(null)
|
||||
const containerRef = ref<HTMLElement | null>(null)
|
||||
const editorRef = ref<HTMLTextAreaElement | null>(null)
|
||||
|
||||
watch(
|
||||
() => model.value,
|
||||
|
||||
@@ -103,7 +103,7 @@ const router = useRouter()
|
||||
// newTaskInput.value.focus()
|
||||
// })
|
||||
|
||||
const taskAdd = ref<HTMLTextAreaElement | null>(null)
|
||||
const taskAdd = ref<HTMLElement | null>(null)
|
||||
const taskAddHovered = useElementHover(taskAdd)
|
||||
|
||||
const errorMessage = ref('')
|
||||
|
||||
Reference in New Issue
Block a user