Select2 landing in Foreman


tl;dr – select2 is now part of the Foreman and will help you search in long select list


Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options.

We have added select2 in Foreman (with the gem select2-rails) and enabled it on all select fields, which make using and searching (especially the long) selects much easier.


One little issue I have encountered is in the puppetclasses -> edit -> Smart Variables tab, where Select2 “refused” to work – so we defaulted to the regular select. (I’d love to hear comments on how to solve this)