[wp-trac] [WordPress Trac] #43003: HTML5 "required" attribute in Widget form() fails in ajax-actions.php during save
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Jan  8 18:23:35 UTC 2018
    
    
  
#43003: HTML5 "required" attribute in Widget form() fails in ajax-actions.php
during save
-------------------------------+--------------------
 Reporter:  Andy Schmidt       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  4.9.2
Component:  Widgets            |     Version:  4.9
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+--------------------
Changes (by westonruter):
 * keywords:   => reporter-feedback
 * version:  4.9.1 => 4.9
 * milestone:  Awaiting Review => 4.9.2
Comment:
 @Andy-Schmidt Support for validity constraints was added in [41352]. You
 can see this in:
 {{{
                 if ( form.prop( 'checkValidity' ) && !
 form[0].checkValidity() ) {
                         return;
                 }
 }}}
 When you say it appears to save, does the Save button become disabled and
 the dirty state clear? Can you leave the widgets admin screen and not get
 prompted to save? Is it just that validity reporting isn't happening?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43003#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list