Closed Quasarman closed 3 months ago
Do you mean @focus
on the <UInput />
doesn't work? 🤔
I tried It and also had a look at the source code, the focus event does not seem to be mapped.
It should be as we bind everything on the input: https://github.com/nuxt/ui/blob/8eca5a0d627e22f42350a060f09c4e44b6de422f/src/runtime/components/forms/Input.vue#L13
Sorry my bad, seems there was something wrong with my hot reloading setup, just tried it again, it works as you mentioned.
Description
The
blur
event is already emitted for both components, would be nice to also emit thefocus
event so we do not have to bind it via aref
and some more separate logic.Current (cumbersome) workaround:
Input:
Textarea:
Additional context
No response