Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1943

Wicket is changing the HTML within an input tag, autocomplete attribute from off to false

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.3.5
    • Fix Version/s: 1.3.6
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      Using Wicket 1.3.5, JDK 6, on Glassfish V2, and Firefox 3.0.3

      Description

      To prevent Firefox from using its Autocomplete feature on input fields, it is recommend that you use autocomplete='off' as an attribute within the input tag.
      However, wicket reads this and changes it to autocomplete = 'false'

      Hence a tag which initially reads
      <input wicket:id="footag" autocomplete="off" />
      , gets rendered by wicket as
      <input id="fooTag3" name="fooTag" value="" autocomplete="false" wicket:id="footag"/>

      This then does not work with firefox or internet explorer. Autocomplete is not an html standard, however wicket should not be changing the html attributes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ivaynberg Igor Vaynberg
                Reporter:
                highonlife Pranav Kacholia
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: