Skip to content

fix(runtime-vapor): stringify symbol input values like vdom - #15830

Merged
edison1105 merged 1 commit into
vuejs:minorfrom
ValentinYoushkevich:fix/vapor-symbol-input-value
Oct 9, 2026
Merged

edison1105 merged 1 commit into
vuejs:minorfrom
ValentinYoushkevich:fix/vapor-symbol-input-value

Conversation

@ValentinYoushkevich

Copy link
Copy Markdown
Contributor

In vapor, binding a Symbol to an input's value throws "Cannot convert a Symbol value to a string", and the component fails to mount. This hits a checkbox group with symbol options bound through v-model to an array, as in #10598. Playground

setValue assigns the raw value to el.value. Vdom's patchDOMProp has stringified it first since #10608; this applies the same String(value). The raw value is still stored on _value, so v-model still gets the symbol back. The existing <div> case in prop.spec now expects the stringified value, matching the attribute.

@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4295e100-1eb5-4119-9465-2dbaff3494db

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Oct 9, 2026

Copy link
Copy Markdown

Open in StackBlitz

@vue/compiler-core

pnpm add https://pkg.pr.new/@vue/compiler-core@15830
npm i https://pkg.pr.new/@vue/compiler-core@15830
yarn add https://pkg.pr.new/@vue/compiler-core@15830.tgz

@vue/compiler-dom

pnpm add https://pkg.pr.new/@vue/compiler-dom@15830
npm i https://pkg.pr.new/@vue/compiler-dom@15830
yarn add https://pkg.pr.new/@vue/compiler-dom@15830.tgz

@vue/compiler-sfc

pnpm add https://pkg.pr.new/@vue/compiler-sfc@15830
npm i https://pkg.pr.new/@vue/compiler-sfc@15830
yarn add https://pkg.pr.new/@vue/compiler-sfc@15830.tgz

@vue/compiler-ssr

pnpm add https://pkg.pr.new/@vue/compiler-ssr@15830
npm i https://pkg.pr.new/@vue/compiler-ssr@15830
yarn add https://pkg.pr.new/@vue/compiler-ssr@15830.tgz

@vue/compiler-vapor

pnpm add https://pkg.pr.new/@vue/compiler-vapor@15830
npm i https://pkg.pr.new/@vue/compiler-vapor@15830
yarn add https://pkg.pr.new/@vue/compiler-vapor@15830.tgz

@vue/reactivity

pnpm add https://pkg.pr.new/@vue/reactivity@15830
npm i https://pkg.pr.new/@vue/reactivity@15830
yarn add https://pkg.pr.new/@vue/reactivity@15830.tgz

@vue/runtime-core

pnpm add https://pkg.pr.new/@vue/runtime-core@15830
npm i https://pkg.pr.new/@vue/runtime-core@15830
yarn add https://pkg.pr.new/@vue/runtime-core@15830.tgz

@vue/runtime-dom

pnpm add https://pkg.pr.new/@vue/runtime-dom@15830
npm i https://pkg.pr.new/@vue/runtime-dom@15830
yarn add https://pkg.pr.new/@vue/runtime-dom@15830.tgz

@vue/runtime-vapor

pnpm add https://pkg.pr.new/@vue/runtime-vapor@15830
npm i https://pkg.pr.new/@vue/runtime-vapor@15830
yarn add https://pkg.pr.new/@vue/runtime-vapor@15830.tgz

@vue/server-renderer

pnpm add https://pkg.pr.new/@vue/server-renderer@15830
npm i https://pkg.pr.new/@vue/server-renderer@15830
yarn add https://pkg.pr.new/@vue/server-renderer@15830.tgz

@vue/shared

pnpm add https://pkg.pr.new/@vue/shared@15830
npm i https://pkg.pr.new/@vue/shared@15830
yarn add https://pkg.pr.new/@vue/shared@15830.tgz

vue

pnpm add https://pkg.pr.new/vue@15830
npm i https://pkg.pr.new/vue@15830
yarn add https://pkg.pr.new/vue@15830.tgz

@vue/compat

pnpm add https://pkg.pr.new/@vue/compat@15830
npm i https://pkg.pr.new/@vue/compat@15830
yarn add https://pkg.pr.new/@vue/compat@15830.tgz

commit: eb8b275

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

Size Report

Bundles

File Size Gzip Brotli
compiler-dom.global.prod.js 87.2 kB 30.6 kB 26.9 kB
runtime-dom.global.prod.js 117 kB 43.9 kB 39.4 kB
vue.global.prod.js 177 kB 64.1 kB 57 kB

Usages

Name Size Gzip Brotli
createApp (CAPI only) 53.2 kB 20.7 kB 18.9 kB
createApp 62 kB 23.9 kB 21.8 kB
createApp + vaporInteropPlugin 132 kB 47.5 kB (-5 B) 42.7 kB (+49 B)
createVaporApp 34.4 kB 13.2 kB (-7 B) 12.2 kB (-3 B)
createSSRApp 67 kB 26 kB 23.6 kB
createVaporSSRApp 41.2 kB 15.6 kB (-7 B) 14.3 kB (-7 B)
defineCustomElement 68.5 kB 25.9 kB 23.6 kB
defineVaporCustomElement 49 kB 17.9 kB (-7 B) 16.4 kB (-5 B)
overall 77.6 kB 29.5 kB 26.7 kB

@edison1105 edison1105 added the scope: vapor related to vapor mode label Oct 9, 2026
@edison1105
edison1105 merged commit d2a396b into vuejs:minor Oct 9, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: vapor related to vapor mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants