Skip to content

Select change problem #16

Open
Open
@NerminMujagic

Description

Hi, the main problem what I have is when the change event is triggered on a <li> item that has the same name as other it wont change the select value:
ex:

<select>
    <option value="D1"> Random </option>
  <optgroup label="Country">
    <option value="luxC"> Luxemburg </option>
    <option value="gerC">Germany</option>
  </optgroup>
  <optgroup label="City">
    <option value="luxCi"> Luxemburg </option>
    <option value="berCi">Berlin</option>
  </optgroup>
</select>

The generated <ul> and <li> behave and move the ".select" class to the right <li> but the select value stays "luxCi" even when I click on "luxC".

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions