New issue
Advanced search Search tips

Issue 595280 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Compat



Sign in to add a comment

Required is not disable dynamically in "display: none;" (input=radio,select)

Reported by cxkpx...@gmail.com, Mar 16 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. describe post form with some required radio button setting style="display: none;".
2. remove required (I remove javascript on load event.)
3. submit.  It occur error "An invalid form control with name='name' is not focusable." though radio is not required.

I get this error select box too.(It happen consecutive select box.)

What is the expected behavior?
It should not occur error.

What went wrong?
Sorry, I don't know contents of the update. I guess some fixes type.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? Yes 48.0.2564.116 is work

Does this work in other browsers? Yes 

Chrome version: 49.0.2623.87  Channel: stable
OS Version: OS X 10.11.3
Flash Version: Shockwave Flash 21.0 r0
 
Labels: Needs-Feedback
It's not clear to me what's wrong. What is the website that you're seeing this behavior on? Can you produce a minimized reproduction?

Comment 2 Deleted

Comment 3 by cxkpx...@gmail.com, Mar 17 2016

I make sample script. Please check source code and console error.
http://210.140.217.179/

Comment 4 by cxkpx...@gmail.com, Mar 17 2016

This is source code.

<html>
    <head><title>PHP TEST</title></head>
    <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
    <body>
        <p>
        10×4=
        </p>
        <form method="POST" action="/test2.php">
            <input type="radio" name="question1" value="secret1" style="display: none;" required>
            <input type="radio" name="question1" value="secret2" style="display: none;" required>
            <input type="radio" name="question1" value="secret3" style="display: none;" required>
            <input type="text" name="text1">
            <input type="submit" name="btn1" value="answer">
        </form>
        <script>
            window.onload = function(){
               $('[name="question1"]').prop('required', false);
            }
        </script>
    </body>
</html>

Comment 5 by cxkpx...@gmail.com, Mar 17 2016

This problem has occurred in all device.
Project Member

Comment 6 by sheriffbot@chromium.org, Mar 17 2016

Labels: -Needs-Feedback Needs-Review
Owner: erikc...@chromium.org
Status: Assigned (was: Unconfirmed)
Thank you for providing more feedback. Assigning to requester "erikchen@chromium.org" for another review.

For more details visit https://sites.google.com/a/chromium.org/dev/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: erikc...@chromium.org
Labels: Needs-Feedback
Owner: ----
Status: Unconfirmed (was: Assigned)
I'm not seeing any problems on Canary 51.0.2673.0, OS X 10.11.3.

Please provide information about your device and Chrome version. Screenshots showing the error would be helpful as well.

Comment 8 by cxkpx...@gmail.com, Mar 18 2016

This error occur on OS X 10.11.3 - 49.0.2623.87 , Android 5.0.1 - 49.0.2623.91, Windows 7 Professional 64bit (6.1, build 7601) - 49.0.2623.87 m.  This did not occur on any device, 48.0.2564.116. 
I attach screenshots. Please check this.
schreenshot_2016-03-18.10.23.51.png
121 KB View Download
Labels: -OS-Mac OS-All
Status: WontFix (was: Unconfirmed)
I reproduced this error on M49, but could not reproduce it on M50 or M51. So it looks like there was a 1-milestone regression. 

This problem should be fixed by M50. Try it out on Chrome Beta or Chrome Canary. If it doesn't work, please update the bug. Unfortunately, the ship has sailed for M49, so we won't be able to fix it there.

Comment 10 by cxkpx...@gmail.com, Mar 18 2016

OK. I understand for this. Thanks a lot.

Sign in to add a comment