Skip to main content

NativeVoiceTextEditBox

NativeVoiceTextEditBox extends TextEditBox with native voice-entry support. Use it when the platform should own text editing and dictation behavior.

Key Fields

  • text: current text value.
  • placeholderText: placeholder shown when empty.
  • voiceEnabled: enables voice entry.
  • voiceEntryType: platform voice-entry domain.
  • voiceInputRegexFilter: optional filter for dictated input.
  • onTextChange: called when text changes.
  • onDictatingChange: called when dictation state changes.

Example

NativeVoiceTextEditBox({
placeholderText: 'Search',
voiceEnabled: true,
}).onTextChange(event => {
this.query = event.text;
});

Use TextEditBox when you need native text editing without voice behavior.