Support

Account

Forum Replies Created

  • Hello,

    I resolved this problem with:

    
    add_filter('acf/load_field/type=repeater', 'disable_repeater');
    function disable_repeater($field) {
    
    		if($field['readonly'] || $field['disabled']){
    
        ?>
        <script type='text/javascript'> 
            acf.addAction('load', function(){
              jQuery('.acf-actions, .acf-row-handle').remove();
        });</script>
        <?php
      }
    	return $field;
    }
    
Viewing 1 post (of 1 total)