[wp-trac] [WordPress Trac] #38845: Implement HTML5 input validity constraints in customizer settings

WordPress Trac noreply at wordpress.org
Mon Sep 18 19:10:42 UTC 2017


#38845: Implement HTML5 input validity constraints in customizer settings
-------------------------+-----------------------------
 Reporter:  westonruter  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Customize    |     Version:  4.6
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------

Comment (by westonruter):

 In [changeset:"41387"]:
 {{{
 #!CommitTicketReference repository="" revision="41387"
 Customize: Use `input` event instead of `keyup` or `propertychange` events
 when listening for changes in `wp.customize.Element` instances.

 Ensures that a control's `Element` is updated in response to pasting into
 the field. Also fixes issue where inputs using "new" HTML5 types (like
 `url` and `number`) were not updating in the preview during keystrokes.
 The use of `input` was previously blocked due to needing to support IE9,
 but this is no longer a concern since IE<11 is no longer supported.

 See #38845, #28477.
 Fixes #35832.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38845#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list