-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add hidesuggestions property to textbox #17815
base: master
Are you sure you want to change the base?
Conversation
You can test this PR using the following package version. |
|
@cla-avalonia agree |
You can test this PR using the following package version. |
You can test this PR using the following package version. |
You can test this PR using the following package version. |
API diff for review: namespace Avalonia.Input.TextInput
{
public class TextInputOptions
{
+ public static readonly AttachedProperty<System.Boolean> HideSuggestionsProperty;
+ public System.Boolean HideSuggestions { get { throw null; } set { } }
+ public static System.Boolean GetHideSuggestions(StyledElement avaloniaObject) { throw null; }
+ public static void SetHideSuggestions(StyledElement avaloniaObject, System.Boolean value) { }
}
} |
What does the pull request do?
Add a
HideSuggestions
property toTextInputOptions
that when set on a text box, the keyboard does not show the autocomplete/word suggestions above the keyboard on Android/iOS.What is the updated/expected behavior with this PR?
Android/iOS keyboards do not present suggestions when the new
HideSuggestions
property is set totrue
.Checklist
Breaking changes
Fixed issues
Fixes #16579