diff --git a/src/iOS/Avalonia.iOS/TextInputResponder.Properties.cs b/src/iOS/Avalonia.iOS/TextInputResponder.Properties.cs index cd9433056a..a331c4689b 100644 --- a/src/iOS/Avalonia.iOS/TextInputResponder.Properties.cs +++ b/src/iOS/Avalonia.iOS/TextInputResponder.Properties.cs @@ -35,7 +35,7 @@ partial class AvaloniaView [Export("keyboardAppearance")] public UIKeyboardAppearance KeyboardAppearance => UIKeyboardAppearance.Alert; - [Export("returnKeyType")] public UIReturnKeyType ReturnKeyType => UIReturnKeyType.Default; + [Export("returnKeyType")] public UIReturnKeyType ReturnKeyType => (UIReturnKeyType)(_view._options?.ReturnKeyType ?? TextInputReturnKeyType.Default); [Export("enablesReturnKeyAutomatically")] public bool EnablesReturnKeyAutomatically { get; set; }