Merge branch 'main' into dev/apphandler
This commit is contained in:
Коммит
34d072f234
|
@ -254,7 +254,6 @@ namespace Microsoft.Maui.Controls.Compatibility.Platform.UWP
|
|||
Control.ClearButtonVisible = Element.ClearButtonVisibility == ClearButtonVisibility.WhileEditing;
|
||||
}
|
||||
|
||||
[PortHandler("Pending to port IsSpellCheckEnabled")]
|
||||
void UpdateInputScope()
|
||||
{
|
||||
Entry entry = Element;
|
||||
|
|
|
@ -55,8 +55,10 @@ using Windows.System;
|
|||
handler.NativeView?.UpdateVerticalTextAlignment(entry);
|
||||
}
|
||||
|
||||
[MissingMapper]
|
||||
public static void MapIsTextPredictionEnabled(IViewHandler handler, IEntry entry) { }
|
||||
public static void MapIsTextPredictionEnabled(EntryHandler handler, IEntry entry)
|
||||
{
|
||||
handler.NativeView?.UpdateIsTextPredictionEnabled(entry);
|
||||
}
|
||||
|
||||
public static void MapMaxLength(EntryHandler handler, IEntry entry)
|
||||
{
|
||||
|
|
|
@ -119,9 +119,9 @@ namespace Microsoft.Maui
|
|||
textBox.IsPassword = entry.IsPassword;
|
||||
}
|
||||
|
||||
public static void UpdateIsTextPredictionEnabled(this MauiTextBox textBox, IEditor editor)
|
||||
public static void UpdateIsTextPredictionEnabled(this MauiTextBox textBox, ITextInput textInput)
|
||||
{
|
||||
textBox.UpdateInputScope(editor);
|
||||
textBox.UpdateInputScope(textInput);
|
||||
}
|
||||
|
||||
public static void UpdateKeyboard(this MauiTextBox textBox, IEditor editor)
|
||||
|
|
Загрузка…
Ссылка в новой задаче