Skip to content

pat-depends on an option  #380

Open
Open
@reinhardt

Description

@reinhardt

Consider the following example:

<input type="checkbox" name="special" /> Activate special option
<select>
    <option>Default</option>
    <option class="pat-depends" data-pat-depends="special">Special</option>
</select>

If I tick the checkbox, the additional option "Special" appears in the dropdown as expected. If I then select the new option and untick the checkbox, the dropdown still shows "Special" as selected, although only "Default" is now available (which I can verify by clicking the dropdown).
I would expect the dropdown to switch to some default, maybe the first available option.

Tested in Firefox 32.0 and Chromium 37.0.2062.94

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions