Setting an empty option in a select element
Reported by MadRabbit | November 16th, 2010 @ 04:42 PM | in 2.2.0 Release
There is a fancy bug in FF
<select>
<option value=""></option>
<option value="1" selected="true"></option>
</select>
select.value = '';
select.value // -> '1'
happens only if the option had the select
attribute
set to true
Comments and changes to this ticket
-
MadRabbit January 5th, 2011 @ 05:44 PM
- State changed from new to resolved
seems like it already fixed in RJS2, had added a test though
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.