React-draft-wysiwyg: warning in console

Created on 27 Apr 2017  路  11Comments  路  Source: jpuri/react-draft-wysiwyg

Warning: Failed prop type: Calling PropTypes validators directly is not supported by theprop-typespackage. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types

Most helpful comment

Does not seem like it is fixed. I am still getting the warning. Just did a clean install, and verified that I have the latest, v1.9.8.

Failed prop type: Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types

All 11 comments

Hi @jpuri,
I too encountered the same issue.
Warning: Failed prop type: Calling PropTypes validators directly is not supported by the prop-types package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types
in e (created by Editor)

I suspect this 'e' is somewhere in Editor which is react-draft-Wysiwyg.
Digging into the issue I found this,
https://facebook.github.io/react/warnings/dont-call-proptypes.html

Same here.
Based on some debugging this seems to be related to the onChange property.

The issue has been fixed by the PR: https://github.com/jpuri/react-draft-wysiwyg/pull/307

I will soon release the change.

This should be fixed in latest release [email protected].

Does not seem like it is fixed. I am still getting the warning. Just did a clean install, and verified that I have the latest, v1.9.8.

Failed prop type: Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types

YES,I have the latest, v1.9.8.This is still the case

Yes, Bug is still there.

@buxuku @jpuri can you re-open the issue so that we can clearly see the improvements?

@sachintha88 I do not have permission to re-open it ,so i have submit a new issue. #319

Having the same issue running 1.9.8

having the same issue running 1.10.0 @jpuri

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gyarasu picture gyarasu  路  4Comments

gyarasu picture gyarasu  路  4Comments

Huespal picture Huespal  路  3Comments

Fireprufe15 picture Fireprufe15  路  4Comments

Satherial picture Satherial  路  4Comments