-
Notifications
You must be signed in to change notification settings - Fork 225
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
Datepicker warning: "class" is a reserved attribute and cannot be used as component prop #81
Comments
Guessing it should be |
+1 |
did it in npm? |
still there |
more or less when this is going to be solved? |
Props named `class` aren't allowed in Vue.js since it's a reserved propname, and there's no reason to do it anyway as it isn't used anywhere in the component. It should be removed to silence the warning when using the component. Resolves chenz24#81.
The error is still there. I looked to the code and class is still in the
I removed myself but I still get the error
|
Same error here! |
as a workaround till they merge the solution what I did was add the library as local (so npm wont rewrite my change) and removed the |
@raideltorres @jairodemorais I've put in a PR for this and reached out to @chenz24 a few times to see if he can close this. I haven't heard anything back, but in the meantime the fork on my account has the fix. |
I'm seeing this warning in my console when using the Datepicker component.
Datapicker.vue has this:
The class prop isn't used in the component as far as I can tell.
The text was updated successfully, but these errors were encountered: