Support

Account

Forum Replies Created

  • I’m having the same issue. Any resolution? Does this have to do with the way the block is registered? This is going to be a big issue soon as full site editing rolls out. Thanks!

  • Hey thanks Elliot, I’ve figured this out, however, now I am trying to figure out how to remove a nested repeater row. It seems simple enough using code like: do_action('acf/delete_value', 101, 'causes_1_cause_id' );

    Doing this removes the field from the database, however, it does not update the count field in the database and it does not decrease each subsequent row number by one. As you can see, running the code above results in the table looking like the screenshot below:

    db

    causes should have been changed to 2 and (_)causes_2_cause_id should have been changed to (_)causes_1_cause_id

    Is there a built-in function that will allow me to do this, or some direction on how to accomplish it?

    Thanks again!

Viewing 2 posts - 1 through 2 (of 2 total)