You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select2 options can be configured either directly from Javascript or from within Django using widget attributes. (List of options in the Select2 docs).
I want to use the Select 2 option selectionCssClass. The code that I have is
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The documentation says
I want to use the Select 2 option
selectionCssClass
. The code that I have isand it creates the following HTML
The CSS class that I provided,
gs-input
, is not present in the HTML. What am I missing?Beta Was this translation helpful? Give feedback.
All reactions