ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

feat: searchbar is performing unwanted autocorrect

Open pmuston opened this issue 10 years ago • 3 comments

Type: feat

Ionic Version: 2.x

Platform: all

The SearchBar component is performing unwanted autocorrection. The search terms are often fragments of text - like a couple of letters. Therefore should NOT be autocorrected etc. I need to be able to set options like can be done for input tag- <input autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />

pmuston avatar Mar 07 '16 11:03 pmuston

Good call! I've added those attributes, thanks

adamdbradley avatar Mar 07 '16 13:03 adamdbradley

I'm currently experiencing similar unwanted behaviour like this for the ion-searchbar. I get something like sentence case, so first character is uppercase, then it flips to lower. I was initially thinking why is it when I sign into Skype on an iphone does the shift key started greyed out, yet my Ionic app doesn't. Then came across a post on Stack overflow, that others seemed to be able to have success with. Tried adding the attributes to the ion-searchbar. It didn't attach the attributes to the nested input. So I tried dom manipulation and couldn't get autocapitalize="none" to work. (also tried autocorrect="off). So I wonder if this bug has somehow gotten re-introduced. ionic info

global packages:

@ionic/cli-utils : 1.3.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.3.0

local packages:

@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.3.0
@ionic/cli-plugin-ionic-angular : 1.3.0
Cordova Platforms               : android 6.2.3 ios 4.4.0
Ionic Framework                 : ionic-angular 3.2.1

System:

Node       : v7.10.0
OS         : macOS Sierra
Xcode      : Xcode 8.3.2 Build version 8E2002
ios-deploy : 1.9.1
ios-sim    : 5.0.13

/opt/IonicProjects/aewsmob>

jgfet avatar Jun 01 '17 11:06 jgfet

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 02 '18 20:09 ionitron-bot[bot]