1๐
โ
I found out how to work this out. The only things to change are the emit
, that needs to emit an event called "input"
emit('input', 'event.target.value')
and, in the type UIInput
, I dont need a modelValue
, as @Estus Flask commented on my question, but, actually, a value
, which serves as value to :value
in the input.
Source:stackexchange.com