I am trying to use select2 v4 in acf via:
acf_update_setting(‘select2_version’, 4);
It works fine in the backend but it gives me error on my front end forms with acf_form:
select2.full.min.js:2895:95
The select2(‘data’) method was called on an element that is not using Select2.
and
select2.full.min.js:2895:189
TypeError: undefined is not an object (evaluating ‘c[b]’)
Any ideas?
Thank you