Project: titanium
Issue TIMOB-17693: iOS: Support missing properties for UITextField inside Ti.UI.AlertDialog
h3. Request Customer is asking to add keyboardType support to createAlertDialog in iOS. When an AlertDialog is created in iOS with PLAIN_TEXT_INPUT is showing UIKeyboardTypeDefault, in certain use cases is required to use other keyboards like the numberPad (Zip Code search, PIN code). h3. Additional info This behaviour is possible in native iOS projects like this: {code} UIAlertView * alert = [[UIAlertView alloc] initWithTitle:@"Hello!" message:@"Please enter your name:" delegate:self cancelButtonTitle:@"Continue" otherButtonTitles:nil]; alert.alertViewStyle = UIAlertViewStylePlainTextInput; UITextField * alertTextField = [alert textFieldAtIndex:0]; alertTextField.keyboardType = UIKeyboardTypeNumbersAndPunctuation; alertTextField.placeholder = @"Enter your name"; [alert show]; {code}
Story points: 5