Skip to content
This repository was archived by the owner on Dec 7, 2021. It is now read-only.
This repository was archived by the owner on Dec 7, 2021. It is now read-only.

Bug found when removing item #152

@NitemareReal

Description

@NitemareReal

I found a bug when removing a option, the bug is removing the original option from "this.el":

this.el.remove(option);

"remove" method for HTMLSelectElement expects an index as argument, but the option itself is supplied. This causes the first option to be removed instead of desired option.

Solution is calling this.el.remove(index) or this.el.remove(option.idx)

Metadata

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