You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have an app transmitting text typed in on a textbox directly to another app.
The suggestions and auto complete do not work this this approach.
Describe the solution you'd like
TextInputOptions provides an option named HideSuggestions or something similar that when set on a text box, the keyboard does not show the autocomplete/word suggestions above the keys.
Describe alternatives you've considered
I was able to use TextInputOptions.Multiline="True" TextInputOptions.ReturnKeyType="Return" TextInputOptions.ContentType="Password" on the textbox to achieve mostly what I'm after, which works fine on Android but on iOS displays a "passwords" button above the keyboard which isn't ideal.
Alternatively, I could buffer text to send, but I want to be able to do both.
Additional context
I was looking in the code and did a rough change to see how it might work.
After adding a HideSuggestions property to TextInputOptions, I updated AndroidInputMethod with the following:
This however doesn't really result in any difference on the Android side as it turns out most keyboards don't really pay attention to the TextFlagNoSuggestsions flag. One of the downsides with either of these approaches is that you lose the ability to use emojis (not the end of the world if this isn't achievable).
On the iOS side, I updated TextInputResponder.Properties.cs with:
Is your feature request related to a problem? Please describe.
I have an app transmitting text typed in on a textbox directly to another app.
The suggestions and auto complete do not work this this approach.
Describe the solution you'd like
TextInputOptions
provides an option namedHideSuggestions
or something similar that when set on a text box, the keyboard does not show the autocomplete/word suggestions above the keys.Describe alternatives you've considered
I was able to use
TextInputOptions.Multiline="True" TextInputOptions.ReturnKeyType="Return" TextInputOptions.ContentType="Password"
on the textbox to achieve mostly what I'm after, which works fine on Android but on iOS displays a "passwords" button above the keyboard which isn't ideal.Alternatively, I could buffer text to send, but I want to be able to do both.
Additional context
I was looking in the code and did a rough change to see how it might work.
After adding a
HideSuggestions
property toTextInputOptions
, I updatedAndroidInputMethod
with the following:This however doesn't really result in any difference on the Android side as it turns out most keyboards don't really pay attention to the
TextFlagNoSuggestsions
flag. One of the downsides with either of these approaches is that you lose the ability to use emojis (not the end of the world if this isn't achievable).On the iOS side, I updated
TextInputResponder.Properties.cs
with:and
This gives me the ideal keyboard that I require.
The text was updated successfully, but these errors were encountered: