[wp-trac] [WordPress Trac] #20420: maxlength attribute not working on new input[type=number]

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 27 19:44:28 UTC 2012


#20420: maxlength attribute not working on new input[type=number]
--------------------------+------------------
 Reporter:  tbuteler      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  General       |     Version:  3.4
 Severity:  trivial       |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by nacin):

 We only use maxlength in a few places. This is the only instance of
 maxlength + type="number". Forcing it to 999 works, as that's what we
 sanitize on the PHP side.

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


More information about the wp-trac mailing list