Select2 conflict with Advanced Custom Fields
-
Hello,
In version 0.7.0, there was introduced some conflict of javascripts with Advanced Custom Fields regarding Select2 library. When I include field, which has Select2, like post_select, for example:array( 'label' => 'Page link', 'type' => 'post_select', 'attr' => 'post', 'query' => array( 'post_type' => array( 'page', 'blog' ) ) ),
I get modal window, but without any fields in it.
In console, I get this error:
Uncaught Error: Option 'multiple' is not allowed for Select2 when attached to a <select> element.
Error is initiated in shortcode-ui.js on line 1762.
Thank you for useful plugin, Jakub Klapka
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Select2 conflict with Advanced Custom Fields’ is closed to new replies.