Skip to content

[BUG - @vue/compat] Incorrect deprecation warning message for COMPILER_V_BIND_SYNC #13133

Closed
@FeBe95

Description

@FeBe95

Vue version

3.5.13

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-ah91yjjh?file=src%2FApp.vue,vite.config.js&terminal=dev

Steps to reproduce

  1. Install & set up @vue/compat
  2. Use :foo.sync="bar" in a template
  3. Look at confusing deprecation warning

What is expected?

[Vue warn] (deprecation COMPILER_V_BIND_SYNC) .sync modifier for v-bind has been removed.
    ↳ Use v-model with argument instead.
    ↳ `v-bind::foo.sync` should be changed to `v-model::foo`.

What is actually happening?

[Vue warn] (deprecation COMPILER_V_BIND_SYNC) .sync modifier for v-bind has been removed.
    ↳ Use v-model with argument instead.
    ↳ `v-bind::foo.sync.sync` should be changed to `v-model::foo.sync`.

System Info

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions