Wicket
  1. Wicket
  2. WICKET-3509

Allow use of HTML5 <input type="search"/> and <input type="date"/> fields

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5-RC2
    • Fix Version/s: 1.5-RC3
    • Component/s: wicket
    • Labels:

      Description

      It would be nice to be able to use a TextField with <input type="search"/> and <input type="date"/> (as well as "tel", "datetime", "time", "month", "week", and "datetime-local", perhaps)

        Activity

        Hide
        Martin Grigorov added a comment -

        With r1079466 I just fixed the name of "datetime-local" in wicket-ajax.js.

        It is possible to use these with Wicket 1.5-rc2 - just override TextField#getInputType() method to return what you need.
        See UrlTextField for example

        Show
        Martin Grigorov added a comment - With r1079466 I just fixed the name of "datetime-local" in wicket-ajax.js. It is possible to use these with Wicket 1.5-rc2 - just override TextField#getInputType() method to return what you need. See UrlTextField for example

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Daniel Bell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development