Selectr icon indicating copy to clipboard operation
Selectr copied to clipboard

A lightweight, vanilla javascript select box replacement. No dependencies.

Results 55 Selectr issues
Sort by recently updated
recently updated
newest added

I found a bug when removing a option, the bug is removing the original option from "this.el": https://github.com/Mobius1/Selectr/blob/3d8964ddb926098527a295aa5102a9a36f2abf91/src/selectr.js#L1919 "remove" method for HTMLSelectElement expects an index as argument, but the option...

Dear Karl, I have used many other libs for select dropdowns. But I love your lib and I want to continue to develop and maintain SelectR. So can I do...

When adding data using the ```new Selectr(..., {data: []})``` method, custom attributes seem to be ignored versus when adding them through ```instance.add(...)```, which also ignores option groups. The following does...

There is a bug when using a clearable select and listening to the selectr.change event. It appears that select.deselect fires before selectr.change and the selectr.change argument provides the previous value...

bug

on this demo page, https://codepen.io/Mobius1/pen/QgdpLN the accessibility only works when there is a text field in the dropdown but when you remove the text field, then you won't be able...

After clearing the search box, the list of items does not refresh. I added this line and the deletion started restoring the original list.

If anyone changes the font size then they will have vertical elements centered. Before: ``` =============== (item) (item) (item) =============== ``` After: ``` =============== (item) (item) (item) ============== ``` OR...

On my page I must set this, because the height changed when there was only one line of items

When instantiating an instance of `new Selectr(element)` with the same element multiple times, Selectr generates new HTML markup resulting in duplicating drop downs. Unexpected result: ![Screen Shot 2020-05-27 at 1...

It would be awesome if on mobile devices when interacting with the select it could use the native interface provided by the OS. Perhaps as an option so that if...

enhancement