diff --git a/packages/core/ui/editable-text-base/index.ios.ts b/packages/core/ui/editable-text-base/index.ios.ts index 031de38a0..df6f436d2 100644 --- a/packages/core/ui/editable-text-base/index.ios.ts +++ b/packages/core/ui/editable-text-base/index.ios.ts @@ -214,15 +214,21 @@ export abstract class EditableTextBase extends EditableTextBaseCommon { } [autocorrectProperty.setNative](value: boolean | number) { let newValue: UITextAutocorrectionType; + let spelling: UITextSpellCheckingType; + if (typeof value === 'number') { newValue = UITextAutocorrectionType.Default; + spelling = UITextSpellCheckingType.Default; } else if (value) { newValue = UITextAutocorrectionType.Yes; + spelling = UITextSpellCheckingType.Yes; } else { newValue = UITextAutocorrectionType.No; + spelling = UITextSpellCheckingType.No; } this.nativeTextViewProtected.autocorrectionType = newValue; + this.nativeTextViewProtected.spellCheckingType = spelling; } public setSelection(start: number, stop?: number) { const view = this.nativeTextViewProtected;