Tapestry 5
  1. Tapestry 5
  2. TAP5-1787

TextField should be usable with HTML5 type values (such as "number", "email", etc.)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.3
    • Fix Version/s: 5.3.2, 5.4
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Tapestry ignores valid html5 form input types, substituting "text" instead.

      Example:
      <t:textfield value="foo" type="number" />

      Expected output:
      <input value="..." type="number">

      Actual output:
      <input value="..." type="text" />

      See also: http://www.w3.org/TR/html5/the-input-element.html

        Activity

        Hide
        Hudson added a comment -

        Integrated in tapestry-trunk-freestyle #642 (See https://builds.apache.org/job/tapestry-trunk-freestyle/642/)
        TAP5-1787: TextField should be usabLe with HTML5 type values (such as "number", "email", etc.)

        hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1213868
        Files :

        • /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/TextField.java
        Show
        Hudson added a comment - Integrated in tapestry-trunk-freestyle #642 (See https://builds.apache.org/job/tapestry-trunk-freestyle/642/ ) TAP5-1787 : TextField should be usabLe with HTML5 type values (such as "number", "email", etc.) hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1213868 Files : /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/TextField.java
        Hide
        Massimo Lusetti added a comment -

        Just to set the right fix version

        Show
        Massimo Lusetti added a comment - Just to set the right fix version

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Johannes Holzer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development