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

'$attrs is readonly' and '$listeners is readonly' #26

Closed
piligrimnick opened this issue Oct 2, 2017 · 14 comments · Fixed by #40
Closed

'$attrs is readonly' and '$listeners is readonly' #26

piligrimnick opened this issue Oct 2, 2017 · 14 comments · Fixed by #40

Comments

@piligrimnick
Copy link

I think it's a problem with Vue 2.4.4
check this issue - looks the same
apertureless/vue-chartjs#151

@Agontuk
Copy link
Owner

Agontuk commented Oct 3, 2017

Thanks for the report, I'll check it as soon as I can.

@Agontuk
Copy link
Owner

Agontuk commented Oct 4, 2017

I tested my example project with 2.4.4 but found no issue. Can you explain how to reproduce it ?

@Agontuk
Copy link
Owner

Agontuk commented Mar 9, 2018

Closing due to inactivity.

@Agontuk Agontuk closed this as completed Mar 9, 2018
@beliolfa
Copy link
Contributor

I am getting this error too. Is there a fix?

@Agontuk
Copy link
Owner

Agontuk commented Sep 3, 2018

please provide an example on how to reproduce this.

@beliolfa
Copy link
Contributor

beliolfa commented Sep 3, 2018

I will try to make a reproduction soon. But this is happening to me developing a plugin for another package.

https://github.com/64robots/nova-image-cropper

Maybe its because of duplication of Vue instances but I can't figure out the solution.

@mnooblet
Copy link

mnooblet commented Sep 20, 2018

I'm facing the same issue, using vue cropper in my component and trying to change a data value in the same component I get this error.

Vue version 2.5.16

BTW if anyone else is getting this error I solved it by wrapping the cropper in it's own .vue file, kinda anoying to proxy everything but at least it's working without the warning.

@san-kumar
Copy link

san-kumar commented Nov 13, 2018

I'm facing the same issue, using vue cropper in my component and trying to change a data value in the same component I get this error.

Vue version 2.5.16

BTW if anyone else is getting this error I solved it by wrapping the cropper in it's own .vue file, kinda anoying to proxy everything but at least it's working without the warning.

Yes, it worked! Thanks :)

@beliolfa
Copy link
Contributor

beliolfa commented Nov 28, 2018

Wrapping in its own component is not working for me. Any help?

@Agontuk
Copy link
Owner

Agontuk commented Nov 28, 2018

I'm re-opening this, please provide a sample project so that I can debug the issue.

@Agontuk Agontuk reopened this Nov 28, 2018
@beliolfa
Copy link
Contributor

Ive created a repo and I cant reproduce it. I think its because of the Vue.extend you have.

Im using this in a Laravel Nova package, and I believe your package is using the Vue instance from Nova, which causes this kind of warnings.

Im going to fork this repo and try to not using Vue.extend and see what happens

@beliolfa
Copy link
Contributor

I fixed this issue in my project with this PR #40. Hope it helps!

@Agontuk
Copy link
Owner

Agontuk commented Nov 28, 2018

Thanks, I'll check it out asap.

@buwilliams
Copy link

+1 We are waiting on this PR as well.

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

Successfully merging a pull request may close this issue.

6 participants