a4-opin icon indicating copy to clipboard operation
a4-opin copied to clipboard

No arrow on dropdown select in community debat and possible elsewhere?

Open philli-m opened this issue 2 years ago • 2 comments

https://opin-dev.liqd.net/en/communitydebate/create/module/community-debate-9/ expected behaviour: arrow to show user it is a select element behaviour: no arrow is displayed

philli-m avatar Mar 10 '22 08:03 philli-m

NOTE: We use select-dropdown here (https://github.com/liqd/adhocracy4/blob/a2b1d36e7beb30b08fbf609f92761479a60dff4b/adhocracy4/static/select_dropdown.js) instead of select2 which we use in our other apps We should look into unifying our select elements to use 1 but not sure which is the better choice at this time, @khamui @fuzzylogic2000 any thoughts on this?

philli-m avatar Mar 14 '22 14:03 philli-m

@phillimorland without looking deeper into code i would think its better to use our select-dropdown and plan a rewrite of it with vanilla js (to get rid of jQuery). But i am not sure if select2 brings something, that select-dropdown can't provide currently? Do you know if they are interchangeable?

depending on what we need from a select-component we could research for one that already brings what we need, but is written in plain js?

in any case it will bring bit of work and especially testing with it.

khamui avatar Mar 14 '22 16:03 khamui