Skip to main content

TextEditBox

TextEditBox wraps the native text edit box node. Use it when the platform should own text editing directly and you do not need the composed TextInput presentation.

Key Fields

  • text: current value.
  • secureMode: masks text for password-style fields.
  • hintText: placeholder or hint text.
  • cursorPosition: native cursor position.
  • maxTextLength: optional maximum length.
  • clearOnDownKey: clears text on down-key behavior.
  • textColor and hintTextColor: text colors.

Example

TextEditBox({
text: this.value,
hintText: 'Enter text',
maxTextLength: 64,
});

Use TextInput for app-level input rows with styling, icons, and keyboard-dialog behavior.