Note onSubmitEditing is invalid with multiline={true}

Summary: Repeat onSubmitEditing is invalid if mutliline is set to true. Closer to the method's documentation.
Closes https://github.com/facebook/react-native/pull/4008

Reviewed By: svcscm

Differential Revision: D2639710

Pulled By: nicklockwood

fb-gh-sync-id: b7a169f0d21ac53f092278bdd32ee2d79779aa14
This commit is contained in:
Harry Moreno 2015-11-10 17:32:06 -08:00 committed by facebook-github-bot-9
parent c73809d116
commit 4386a3664d
1 changed files with 1 additions and 0 deletions

View File

@ -223,6 +223,7 @@ var TextInput = React.createClass({
onEndEditing: PropTypes.func,
/**
* Callback that is called when the text input's submit button is pressed.
* Invalid if multiline={true} is specified.
*/
onSubmitEditing: PropTypes.func,
/**