Home Forums ACF PRO Select2 Conflict with Awesome Support Reply To: Select2 Conflict with Awesome Support

  • Currently i have the same problem in backend with another plugin (WP Customer Area).

    I’ve temporarely solved with this code

    function my_acf_admin_enqueue_scripts() {
    	wp_dequeue_script( 'select2');
    	wp_deregister_script( 'select2' );
    	wp_enqueue_style('select2', '//');
        wp_enqueue_script('select2', '//', '', '', false);
    add_action('admin_enqueue_scripts', 'my_acf_admin_enqueue_scripts');

    But i don’t know if it’s the best approach and can bring problems to ACF backend pages and fields.