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
I am working on project based on the flutter. My requirement is like I will have an text box by entering 4 letters in that text box I need to make an API call and I need to display the suggestion list. I am using this library for displaying the suggestion. The problem is all this API call and every thing is working fine but in the devices like Samsung and devices built on MI-UI versions when user enter the text with 4 characters as expected API call is happening and displaying the suggestions list but if the user tries to delete the last two characters and tried to enter some other charterers the words is getting duplicated. This issue is only happening in the above mentioned devices but it is not happening in other devices. I had checked a lot to solve this issue finally I came to know in Samsung devices there is a setting called predictive text inside the keyboard settings if we turn that thing to off we can able to solve this issue. But how can user knows this issue and what way we can solve this issue in MI-UI devices and one more thing is there are lot of text fields available inside of my application but this issue is only happening to this text field alone . Is there any programmatic way to turn of the predictive text which is not an unique settings across all the devices ?
User enter text :-ABCD Text after deleting :-AB User tried to enter text is :-F Displayed text:- ABABF Expected output:-ABF
`SimpleAutoCompleteTextField(
keyboardType: TextInputType.text,
controller: searchController,
key: key,
textCapitalization: TextCapitalization.none, // this will be used not to captalize first letters
suggestions: SearchTabView.list,
textChanged: (text) async {
print(text);
if (text.length >= 4) { // after 4 letters it will make an api call
// this method is used to check to make an api call or need to load data from the existing list
await suggestionsList(text, autoSuggestionRequest, context, reload,
autoCompleteTextField)
.then((list) {
suggestionlist = list;
//reload(list);
});
}
}`
The text was updated successfully, but these errors were encountered:
I am working on project based on the flutter. My requirement is like I will have an text box by entering 4 letters in that text box I need to make an API call and I need to display the suggestion list. I am using this library for displaying the suggestion. The problem is all this API call and every thing is working fine but in the devices like Samsung and devices built on MI-UI versions when user enter the text with 4 characters as expected API call is happening and displaying the suggestions list but if the user tries to delete the last two characters and tried to enter some other charterers the words is getting duplicated. This issue is only happening in the above mentioned devices but it is not happening in other devices. I had checked a lot to solve this issue finally I came to know in Samsung devices there is a setting called predictive text inside the keyboard settings if we turn that thing to off we can able to solve this issue. But how can user knows this issue and what way we can solve this issue in MI-UI devices and one more thing is there are lot of text fields available inside of my application but this issue is only happening to this text field alone . Is there any programmatic way to turn of the predictive text which is not an unique settings across all the devices ?
User enter text :-ABCD Text after deleting :-AB User tried to enter text is :-F Displayed text:- ABABF Expected output:-ABF
`SimpleAutoCompleteTextField(
keyboardType: TextInputType.text,
controller: searchController,
key: key,
textCapitalization: TextCapitalization.none, // this will be used not to captalize first letters
suggestions: SearchTabView.list,
textChanged: (text) async {
print(text);
The text was updated successfully, but these errors were encountered: