1

I want to disable the word suggestion (the line above the keyboard with thus this thos thi thik tha) in my ionic app keyboard with word suggestion strip I have tried autocomplete="off",autocaptiliaze ="off" and all those properties but they are not working

Keyboard without word suggestion strip when it is of type keyboard

i want a keyboard without word suggestion strip .. the one like when it comes for password type...can anyone suggest anything that helps... and i want the solution for ionic cordova apps not the native android or ios

MSD
  • 437
  • 6
  • 18
  • Auto-complete is user config on the keyboard, AFAIK you can't disable it – Zoe Nov 14 '17 at 10:08
  • @Zoe yeah... but I need a way around.. the word suggestion strip doesn't come in type password.... is there any option for removing the asterisks from input type password – MSD Nov 14 '17 at 10:15
  • android:inputType="textNoSuggestions" is the flag for android . In ionic i don't know if its available or not. But there must be an alternative. – ADM Nov 14 '17 at 10:16
  • i cant seem to find the alternative for that @ADM – MSD Nov 14 '17 at 10:24
  • Well, Keep searching . i don't know anything about ionic right now. – ADM Nov 14 '17 at 10:26
  • @LuckyStarr what benefit will I get by editing the manifest.xml? sorry but i dont understand what you trying to say – MSD Nov 14 '17 at 12:52

1 Answers1

-1

You can disable suggestions on the Soft Keyboard by adding the following line in the xml Edittext.

android:inputType="textNoSuggestions"

Happy coding!!

Hemant Parmar
  • 3,924
  • 7
  • 25
  • 49
  • this is for native android. I need the solution for hybrid apps..... ionic/cordova @hemant-parmar – MSD Nov 14 '17 at 10:25
  • ok , have look https://stackoverflow.com/questions/11327968/turning-off-auto-complete-for-textarea-and-inputfields-in-android-cordova-app – Hemant Parmar Nov 14 '17 at 10:30
  • 1
    i am using android version 7 on nexus 6 but it is still not working – MSD Nov 15 '17 at 06:27