1👍
I found the answer, it’s right there in the Vue documentation but I didn’t realize that it’s the answer:
refs returned from
setup
are automatically shallow unwrapped when accessed in the template so you do not need to use.value
when accessing them. They are also unwrapped in the same way when accessed onthis
.
Source:stackexchange.com