Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Setting an empty option in a select element

#406

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

Reported by MadRabbit · November 16th, 2010 @ 04:42 PM

State: resolved
Milestone: 2.2.0 Release
Assigned to: nobody

Activity

  1. MadRabbit
    MadRabbit
    • State changed from new to resolved

    seems like it already fixed in RJS2, had added a test though

    January 5th, 2011 @ 05:44 PM

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.