Merge branch 'aliasKeyboardType' into Integration

This commit is contained in:
TrueZhuanjia committed 2025-09-26 09:18:00 +08:00
commit ceebd19c0e
2 files changed
+3 -3

No files matched your search

@@ -477,7 +477,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;
}]; }];
@@ -548,7 +548,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