Subscribe on changes!

TSX attrs overriding isn't working

avatar
Jun 30th 2022

Vue version

3.2.37

Link to minimal reproduction

https://codesandbox.io/s/unruffled-goodall-zz9tux

Steps to reproduce

  1. Write something in the input
  2. View the console

What is expected?

It should only emit a single event which is inside the component

What is actually happening?

it is also handling event provided via attrs. (Isn't overriding @input of App.vue)

System Info

System:
    OS: Linux 5.15 Ubuntu 22.04 LTS 22.04 LTS (Jammy Jellyfish)
    CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
    Memory: 2.07 GB / 7.71 GB
    Container: Yes
    Shell: 0.12.1 - /home/jd/.xonsh/.venv/bin/xonsh
  Binaries:
    Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
    Yarn: 1.22.18 - ~/.nvm/versions/node/v16.14.2/bin/yarn
    npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm
  Browsers:
    Chrome: 103.0.5060.53

Any additional comments?

None