fix(frontend): expose focus method on FormField component

Components using FormField with a ref need to call .focus() on it.
Without exposing the method, these calls would fail since the ref
points to the component instance, not the underlying input element.
This commit is contained in:
kolaente
2026-01-10 21:59:06 +01:00
parent fb8ee82b98
commit 5ca600506b
@@ -59,6 +59,9 @@ defineExpose({
get value() {
return inputRef.value?.value ?? ''
},
focus() {
inputRef.value?.focus()
},
})
</script>