[wp-trac] [WordPress Trac] #17863: HTML5 input type=number in admin settings

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 7 07:22:58 UTC 2012


#17863: HTML5 input type=number in admin settings
----------------------------+------------------------------
 Reporter:  niallkennedy    |       Owner:  georgestephanis
     Type:  task (blessed)  |      Status:  accepted
 Priority:  normal          |   Milestone:  3.4
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------------

Comment (by azaozz):

 Replying to [comment:20 nacin]:

 Agreed. It's nice to have "self-validating" fields but we need to double-
 check that validation.

 As far as I understand the specs for type=number, the min, max and step
 attributes are used in validation (when present), so field with step="10"
 won't accept values like 12, 123, etc.

 The type=search doesn't seem to have any restrictions, and type=url is
 limited to absolute URLs only.

 There are also several field types that deal with date/time and couple of
 "more interesting" types, like `range` that displays a slider and `color`
 that brings up swatches or the system color picker (Opera only for now).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17863#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list