Switch iOS keyboard type if required (flutter/engine#3400)
Ensure that the text input keyboard is reloaded if the view keyboardType changes.
This commit is contained in:
@@ -197,6 +197,7 @@ static UIKeyboardType ToUIKeyboardType(NSString* inputType) {
|
||||
- (void)setTextInputClient:(int)client withConfiguration:(NSDictionary*)configuration {
|
||||
_view.keyboardType = ToUIKeyboardType(configuration[@"inputType"]);
|
||||
[_view setTextInputClient:client];
|
||||
[_view reloadInputViews];
|
||||
}
|
||||
|
||||
- (void)setTextInputEditingState:(NSDictionary*)state {
|
||||
|
||||
Reference in New Issue
Block a user