• Resolved yepecece

    (@yepecece)


    Hi,

    thanks for this great plugin. I was looking for something like this for a very long time.

    There seems to be a bug with the repeater field in the backend when using the “Dynamic Preview” mode, an empty row is added at the end of almost every repeater field making the preview wrong.

    Let me know if you see this on your end.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the report.

    This problem happens specifically in the preview mode right? I’m gonna check what’s going on. But yeah, repeater field actually automatically add a hidden row at the end of the field. This row is the “model” for the new row when you click on the “Add” button.

    You should be able to check the row ID/name and exclude it in from the preview, it should be something like acfclone. I’m gonna test it.

    Thanks.

    Regards.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    I just checked, and it works correctly. You should use get_sub_field() in your template.php file to get the repeater values.

    Let me know if it works for you.

    Regards.

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

The topic ‘Repeater bug in backend’ is closed to new replies.