ACF-Image-Select icon indicating copy to clipboard operation
ACF-Image-Select copied to clipboard

Not appearing in Conditional Logic

Open groseler opened this issue 6 years ago • 4 comments

Hi, great job with this plugin! How can we make it available in the Conditional Logic field.

Cheers!

groseler avatar Apr 15 '18 18:04 groseler

Hello groseler, did you already found a solution for the Conditional Logic? I need the same functionality.

Thanks :)

bujoo avatar May 03 '18 00:05 bujoo

Same here. Need it soooooo bad ;-)

vguenichon avatar Mar 14 '19 08:03 vguenichon

+++ Need this also. Apart from not being able to use conditionals, this add on is really helpful.

wetenhall avatar Oct 09 '19 07:10 wetenhall

@cyberwani Can you add this slick hack to your plugin to enable conditional logic?


(function($){
    var myFieldName = 'image-select'; //name of field

    $(document).ready(function () {
        $(document)
        .find('[data-type="'+ myFieldName +'"]')
        .data('type', 'radio');  // here is the change
    });
})(jQuery);

samjco avatar Jun 03 '20 13:06 samjco