Fix: allow default keyboard for alias input (support Zhuyin)
This commit is contained in:
1 parent
9fca3a5984
commit
3834b5a604
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -487,7 +487,7 @@
|
|||||||
|
|
||||||
[alertController addTextFieldWithConfigurationHandler:^(UITextField *textField) {
|
[alertController addTextFieldWithConfigurationHandler:^(UITextField *textField) {
|
||||||
textField.placeholder = [LocalizationHelper localizedStringForKey:@"Alias label (optional)"];
|
textField.placeholder = [LocalizationHelper localizedStringForKey:@"Alias label (optional)"];
|
||||||
textField.keyboardType = UIKeyboardTypeASCIICapable;
|
textField.keyboardType = UIKeyboardTypeDefault;
|
||||||
textField.autocorrectionType = UITextAutocorrectionTypeNo;
|
textField.autocorrectionType = UITextAutocorrectionTypeNo;
|
||||||
textField.spellCheckingType = UITextSpellCheckingTypeNo;
|
textField.spellCheckingType = UITextSpellCheckingTypeNo;
|
||||||
}];
|
}];
|
||||||
@@ -558,7 +558,7 @@
|
|||||||
|
|
||||||
[alertController addTextFieldWithConfigurationHandler:^(UITextField *textField) {
|
[alertController addTextFieldWithConfigurationHandler:^(UITextField *textField) {
|
||||||
textField.placeholder = [LocalizationHelper localizedStringForKey:@"Alias label (optional)"];
|
textField.placeholder = [LocalizationHelper localizedStringForKey:@"Alias label (optional)"];
|
||||||
textField.keyboardType = UIKeyboardTypeASCIICapable;
|
textField.keyboardType = UIKeyboardTypeDefault;
|
||||||
textField.autocorrectionType = UITextAutocorrectionTypeNo;
|
textField.autocorrectionType = UITextAutocorrectionTypeNo;
|
||||||
textField.spellCheckingType = UITextSpellCheckingTypeNo;
|
textField.spellCheckingType = UITextSpellCheckingTypeNo;
|
||||||
textField.text = self->selectedWidgetView.widgetLabel;
|
textField.text = self->selectedWidgetView.widgetLabel;
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ import UIKit
|
|||||||
alert.textFields?[0].keyboardType = .asciiCapable
|
alert.textFields?[0].keyboardType = .asciiCapable
|
||||||
alert.textFields?[0].autocorrectionType = .no
|
alert.textFields?[0].autocorrectionType = .no
|
||||||
alert.textFields?[0].spellCheckingType = .no
|
alert.textFields?[0].spellCheckingType = .no
|
||||||
alert.textFields?[1].keyboardType = .asciiCapable
|
alert.textFields?[1].keyboardType = .default
|
||||||
alert.textFields?[1].autocorrectionType = .no
|
alert.textFields?[1].autocorrectionType = .no
|
||||||
alert.textFields?[1].spellCheckingType = .no
|
alert.textFields?[1].spellCheckingType = .no
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user