Skip to content

Commit

Permalink
fix(ios): fix textfield autocorrect:false (#13659)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed Dec 7, 2022
1 parent 4dd041c commit 29f5807
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iphone/Classes/TiUITextWidget.m
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ - (void)setKeyboardType_:(id)value
- (void)setAutocorrect_:(id)value
{
[[self textWidgetView] setAutocorrectionType:[TiUtils boolValue:value] ? UITextAutocorrectionTypeYes : UITextAutocorrectionTypeNo];
[[self textWidgetView] setSpellCheckingType:[TiUtils boolValue:value] ? UITextSpellCheckingTypeYes : UITextSpellCheckingTypeNo];
}

- (void)setAutofillType_:(id)value
Expand Down

0 comments on commit 29f5807

Please sign in to comment.