Skip to content

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

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy