Problem/Motivation
Paragraphs Collection directly integrates with select2 library in paragraphs_collection_libraries_info().
Since recently, there is a Drupal module that provides integration with Select2 library.
Among other things, it provides better styling for the default admin (Seven) theme. See #3001987: Do not use own design.
Proposed resolution
Paragraphs Collection should try to rely on select2 module instead directly using the library.
Keep in mind that we should not add a dependency to the module but only (re)use it if the module is available/enabled.
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
berdirSo the idea would be that we drop our own custom select2 library and styling, and then in the form, we do something like this (pseudo code):
Comment #3
primsi commentedComment #4
primsi commentedAdded width auto.
Comment #6
berdirNice :)