Browse Source

ios implement return key type

pull/8963/head
Dan Walmsley 3 years ago
parent
commit
90f8671529
  1. 2
      src/iOS/Avalonia.iOS/TextInputResponder.Properties.cs

2
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; }

Loading…
Cancel
Save