1. #1
    Sencha User
    Join Date
    Nov 2008
    Posts
    14
    Vote Rating
    1
    zakabog is on a distinguished road

      0  

    Default Answered: How do you use a browsers built-in auto complete on a textfield?

    Answered: How do you use a browsers built-in auto complete on a textfield?


    I couldn't find an answer on the subject, how do you get a browser to use it's built-in auto complete on a textfield inside of a form? They look like normal text input boxes and the one on this forum's search seems to work fine with my browsers auto complete, what's keeping it from working on other forms input boxes?

  2. ExtJS fields all have the HTML attribute autocomplete="off", which disables the browser's built-in auto-complete. I don't believe this is configurable, you'd either have to override the template or do some post-rendering attribute manipulation. I'd probably go with the latter.

  3. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,625
    Vote Rating
    331
    Answers
    550
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    ExtJS fields all have the HTML attribute autocomplete="off", which disables the browser's built-in auto-complete. I don't believe this is configurable, you'd either have to override the template or do some post-rendering attribute manipulation. I'd probably go with the latter.

  4. #3
    Sencha User
    Join Date
    Nov 2008
    Posts
    14
    Vote Rating
    1
    zakabog is on a distinguished road

      0  

    Default


    Ah, okay yeah I'll just disable it after render, cause I only want it on some fields. Thank you.

Thread Participants: 1