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

It appears as though the defaultSelected option is not working. I am using this code: ` const packagingSelectr = new Selectr(packaging, { multiple: true, placeholder: 'Select a packaging', defaultSelected: false,...

bug

Destroying a Selectr instance and rendering it again with the idential config freezes/kills mobile browsers. Tested on multiple browsers and multiple (Android) devices, happens every single time. Seems like a...

Hi, I think it would make sense for the add() method to accept the same data format as the initial "data" option, that is individual objects that can contain optgroups....

Hi, would it be possible to add a placeholder option for the search input? I feel like some users might not understand they can actually click and type to find...

enhancement

Tag selection acts strange when using typing and mouse/touch. This bug is also on the demo page: [tested with Safari on iPad] How and where: In the selectbox with the...

bug

using more and more of the given possiblities, I noticed the tag input site could not be limited. Could you make this an enhancement?

enhancement

The tags are very useful, thanks ! New tag = tag value entered by user that is not in the current data set. I would like to make some suggestions:...

enhancement

Is there any way to include translations to the plugin?

I don't particularly want a full-blown lazy loading framework like select2 and friends (that would be unnecessary bloat IMO), but I'd still like some way of feeding async data into...

enhancement

When creating a multi-select, `build` calls [`getSelectedProperties()`](https://github.com/Mobius1/Selectr/blob/master/src/selectr.js#L480-L484) to set `this.selectedValues` and `this.selectedIndexes`. The former works fine; but the latter gets an empty array (because `idx` has not yet been set...

bug