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:
parent
c73809d116
commit
4386a3664d
|
@ -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,
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue