-
-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Description
It still shows an alert even when a radio button is selected while submitting the form.
The issue is reproduced in this commit.
It is caused by these two lines in netteForms.js:
} else if (elem.name && !elem.form.elements.namedItem(elem.name).tagName) { // multi element
return Nette.getValue(elem.form.elements.namedItem(elem.name));
When I revert them to the pre-2.3 version, it works fine:
} else if (elem.form.elements[elem.name] && !elem.form.elements[elem.name].nodeName) { // multi element
return Nette.getValue(elem.form.elements[elem.name]);
But I am not 100% sure this is the right solution because I don't know what was the reasoning behind using namedItem and tagName instead of nodeName.
You can test the sandbox in IE9 with a virtual machine from here.
Metadata
Metadata
Assignees
Labels
No labels