Hi, I am fairly new to Select2, CSS and Django as well, so sorry if my question seems trivial.
I really like the look of Select2 and trying at the moment to integrate it into CrispyForms within a Django app.
My aim:
I have two multi-select boxes (ManyToMany Django model).
One of the boxes I would like the following
a) The width of the PillBox should be fixed (the whole input field)
b) Selections made will stack-up on top of each other (instead of side by side, and top of like now)
b) The search function (select2-show-search) should be below the selection stack, ie I don’t have to move the mouse etc, but can just use keyboard and press enter for every selection made.
The other box, I would like the following.
a) the selection field is divided into two, left side and right side (two selection fields). The left I would like to be able to fill up with Blue pillboxes and the right I would like to be able to fill up with Red pillboxes. Problem I found was to be able to “easily” manipulate background color in CSS (it became either or).
For 1 and 2 I kindly ask for help/hints/references how to achieve it.
I have tried to ask the same question at Stackoverflow, but unfortunately no answer.
Many thanks
J.