Support

Account

Home Forums ACF PRO Disable specific fields within admin Reply To: Disable specific fields within admin

  • Hi @KornDev

    Looking at your code, I can see that you are searching for all fields each time a new repeater row is appended to the page. To get around this issue, please make use of the ‘$el’​ parameter​​​:

    
    acf.get_fields('', $el).each(function(){
    

    If you only want wysiwyg fields, try this:

    
    acf.get_fields({ type : 'wysiwyg'}, $el).each(function(){