-
Notifications
You must be signed in to change notification settings - Fork 132
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Invalid prop: custom validator check failed for prop "rotation" #131
Comments
What's the error @molerat619 ? |
Sorry, forgot to post it. Here we go:
|
It's because it's expecting a string. We actually have a PR to fix this. You can work around this by doing |
Thanks for your help. But that doesn't fix it unfortunately. Now I get the following complaint:
|
Ah, shoot. I'm sorry about that. Right now it is a You'll need to specify |
Nice, that fixed it. Thank you. If the PR is merged, will it be strings in the future or will it stay numbers? |
Strings and numbers will both work in the future. However |
Hello, I'm still getting this error and having looked around I cant see what is wrong: From what I can read Strings and Numbers should be allowed?! |
@mada75 I just released 0.1.6 which should allow both strings and numbers. Give it a try and let me know. |
@robmadole I updated my dependencies today and the console error has gone, thanks. |
Great! |
For other users - note that the rotate prop only accepts 90, 180 and 270 (whether as strings or numbers). If you to rotate differently, use the :transform prop. |
First of all, thanks for your great work!
I want to rotate
fa-toggle-on
by 180° on click (see screenshot). This is my code for the icon:It works well, but I see this error in my chrome dev tools console. I like having a clear console. Do you know why this happens and how I can fix it?
The text was updated successfully, but these errors were encountered: