Forgive me if i've missed something and this should be a support or documentation issue.

Is there a way to set which of the CSS files in the Selectize.js dist/css directory to use?

Either in the settings passed into each selectize form element type, or a global setting?

By default it uses selectize.default.css but selectize.css or selectize.bootstrap3.css etc. are all perfectly reasonable to choose.

Comments

mlncn created an issue. See original summary.

mlncn’s picture

Component: Code » Documentation
Category: Feature request » Support request

Aha, it was more a matter of documentation!

Selectize defines the override in its selectize.libraries.yml file:

core:
  css:
    component:
      /libraries/selectize/dist/css/selectize.default.css: {}

which can be overridden just like any library or library-defined file.