Add jquery.select2 dep to patterns.