Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Turning off autocorrect and autocapitalize on input fields on safari for iPad

    Is there a way to turn off autocorrect and autocapitalize on input fields? Safari on the iPad defaults to this behavior. This can be turned off programatically via setting attributes on the input tag:

    Code:
    <input type="text" name="some_name" autocorrect="off" autocapitalize="off"></input>
    I looked for something similar to setBrowserSpellCheck(), and didn't find anything.

    Thanks,
    Chris

    #2
    Please try the next nightly build (dated June 8) on the 9.0 branch.
    We have enabled 2 new properties to do control this - TextItem.browserAutoCorrect and TextItem.browserAutoCapitalize

    Comment


      #3
      Thanks for the quick addition of this functionality. Is the 9.0 branch the 4.1d nightly builds of SmartGWT Enterprise? Unfortunately, we haven't purchased 4.0 yet, so I can't access it to try it.

      Comment


        #4
        yes - this will impact 4.0d and 4.1d.

        We'll port the change across to 3.1p as well - it'll probably take a couple of days. We'll update the thread when we've made this change

        Regards
        Isomorphic Software

        Comment


          #5
          Thank you, that would be greatly appreciated!

          Comment


            #6
            This has now been ported across. Please try the next nightly build dated Jun 13 or above

            Regards
            Isomorphic Software

            Comment


              #7
              Awesome! Thanks for putting it on the branch.

              It would be even more useful to have these features on the DynamicForm as well, like setBrowserSpellCheck() is.

              It appears that Safari does support the autoCorrect and autoCapitialize on forms as well: https://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/DesigningForms/DesigningForms.html

              Thanks,
              Chris

              Comment

              Working...
              X