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

Invalid <td> Props Warning #47

Closed
machineghost opened this issue Dec 15, 2016 · 1 comment
Closed

Invalid <td> Props Warning #47

machineghost opened this issue Dec 15, 2016 · 1 comment
Labels

Comments

@machineghost
Copy link

machineghost commented Dec 15, 2016

It seems the library sets i and w properties on a <td> it renders, but because those aren't valid HTML attributes React complains about them:

warning.js:36 Warning: Unknown props `i`, `w` on <td> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop
    in td (created by Day)
    in Day (created by Calendar)
    in tr (created by Calendar)
    in tbody (created by Calendar)
    in table (created by Calendar)
    in div (created by Calendar)
    in Calendar (created by InputMoment)
    in div (created by InputMoment)
    in div (created by InputMoment)
    in InputMoment (created by MyCode)
    ... (the rest of the stack is my code which renders an InputMoment)

Obviously a warning doesn't really hurt anything, but it would be nice if this could be fixed.

@wangzuo wangzuo added the bug label Dec 16, 2016
@wangzuo
Copy link
Owner

wangzuo commented Jan 18, 2017

fixed in 0.3.1

@wangzuo wangzuo closed this as completed Jan 18, 2017
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