Skip to main content

Architecture Review Needed: This documentation was written to support development against React Native's "Old" or "Legacy" Architecture. It may or may not be directly applicable to New Architecture development and needs to be reviewed and potentially updated. For information on React Native architectures in React Native Windows, see New vs. Old Architecture.

Reference

Props

Inherits TextInput Props.

Windows-Specific Properties

submitKeyEvent

A property that registers a set of KeyEvents that may trigger onSubmitEditing in a multiline scenario.

typerequired
{ code: 'Enter', shiftKey: bool }No

clearTextOnSubmit

If true, the text field will clear when submitted. The default value is false.

typerequired
boolNo

Examples

Examples can be found in the React Native Gallery App available in the Microsoft Store