Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vue warn]: Component emitted event "row-click" but it is neither declared in the emits option nor as an "onRow-click" prop. #9259

Closed
12 tasks
giovannymf opened this issue May 12, 2021 · 1 comment
Labels

Comments

@giovannymf
Copy link

giovannymf commented May 12, 2021

Describe the bug
"row-click" emit event not declared in QTable, so Vue shows on console: "[Vue warn]: Component emitted event "row-click" but it is neither declared in the emits option nor as an "onRow-click" prop."

Codepen/jsFiddle/Codesandbox (required)
The warning does not show up in Codepen

To Reproduce
Steps to reproduce the behavior:

  1. Use QTable with @row-click event (eg: "@row-click='onRowClickFn'").
  2. Click on any row.
  3. See warning in console.

Expected behavior
There should be no event related console warnings.

Platform (please complete the following information):
Quasar Version:
@quasar/app Version:
Quasar mode:

  • [ x ] SPA
  • SSR
  • PWA
  • Electron
  • Cordova
  • Capacitor
  • BEX

Tested on:

  • [ x ] SPA
  • SSR
  • PWA
  • Electron
  • Cordova
  • Capacitor
  • BEX

OS: Windows 10
Node: v.14.16
NPM: v6.14.11
Yarn: v1.22.10
Browsers: Edge v90.0.818.56 and Chrome v90.0.4430.93

@rstoenescu
Copy link
Member

Duplicate of #9132
Vue issue. Will try to report it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants