Thorsten Lünborg

Results 379 comments of Thorsten Lünborg

I see. Seems to be related to Suspense. Removing that makes it work.

> const selected = defineModel({default: []}); > > > Starting in Vue 3.4, the recommended approach to achieve this is using the [defineModel()](https://vuejs.org/api/sfc-script-setup#definemodel) macro: That has nothing to do with...

I'd argue that this is expected behaviour. It's just not made explicit enough in the docs.

Symbol itself may be a valuable addition. I was kinda interested in the "etc.", wether there are additional things OP wants to include and why.

Currently, for template refs Vue relies on the presence of `instance.exposed` to decide wether this is a closed instance – requiring an `exposeProxy`– or a normal, open instance which exposes...

The issue is that `normalizeClass` will always coerce the `:class` value to a string. https://github.com/vuejs/vue-next/blob/cac6ab5bdb712a3872dfa2b1cd4751d80cb4f38c/packages/shared/src/normalizeProp.ts#L65-L66 and `patchClass` will only remove the attribute when it's nullish: https://github.com/vuejs/vue-next/blob/cac6ab5bdb712a3872dfa2b1cd4751d80cb4f38c/packages/runtime-dom/src/modules/class.ts#L16-L17

This is actually designed this way, but missing in the docs. We'll make sure to amend the docs accordingly. I'll leave this open until we have done that.