You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For radio button items in the group which are not selected checked="" is added. Browsers including FireFox, Chrome and IE interpret this to mean that that item is selected, and the result is always that the last item in the list shows as being selected. Instead, for those items which are not selected, no checked attribute should be added to the tag at all.
The text was updated successfully, but these errors were encountered:
Sorry, I don't have time to fork the project and submit changes at this time, but it seems like an easy fix.
In RadioButtonRenderer.java, change line 69 to: if selectItem.getValue().equals(radioButton.getValue()) { writer.writeAttribute("checked", "checked" , null); }
For radio button items in the group which are not selected
checked=""
is added. Browsers including FireFox, Chrome and IE interpret this to mean that that item is selected, and the result is always that the last item in the list shows as being selected. Instead, for those items which are not selected, no checked attribute should be added to the tag at all.The text was updated successfully, but these errors were encountered: