Add Support for the HTML5 search Input Type to Stripes Input Field Custom Tags
------------------------------------------------------------------------------

                 Key: STS-794
                 URL: http://www.stripesframework.org/jira/browse/STS-794
             Project: Stripes
          Issue Type: Improvement
          Components: Tag Library
    Affects Versions: Release 1.5.5
            Reporter: Walter Rumsby
            Priority: Minor
         Attachments: stripes-input-search-patch.txt

One of the new features of HTML5 is the search input type. e.g.

     <input type="search" name="search-text">

Browsers that don't support input[type=search] will treat the field as an 
input[type=text] field instead. As per the working draft a field of 
input[type=search] is just an input[type=text] that may be styled differently 
by the browser:

    Note: The difference between the Text state and the Search state is 
primarily stylistic: 
    on platforms where search fields are distinguished from regular text 
fields, the Search 
    state might result in an appearance consistent with the platform's search 
fields rather 
    than appearing like a regular text field.

     -- 
http://www.w3.org/TR/html5/states-of-the-type-attribute.html#text-state-and-search-state

My personal opinion is that there is very little risk using this new field.

I've attached a patch that should provide support for this input type when 
using Stripes' custom tags for input fields (i.e. <stripes:search/>, etc.). 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to