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

selectivity-input div uses same id when created from a "select" #146

@dr-itz

Description

@dr-itz
<select id="bla">...</select>
...
<script>
$('#bla').selectivity();
</script>

Results in:

<select id="bla">...</select>
<div id="bla" data-name="bla" class="selectivity-input" ...>...</div>

No to elements in the DOM should have the same ID. A prefix or suffix of some sort should be used. E.g. chosen.js uses a suffix of _chosen, Select2 a prefix of s2id_

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