The child item’s data was moved to another row when using a Repeater with conditional logic.
M
Michael Tran
Hi team,
When I use a Repeater within a Conditional Logic field, I encounter a bug where the data is moved from the first row to the second row.
These are the steps to reproduce the bug:
- Create a Repeater field within 3 child fields including these types
- Name -> Text
- Use Phone? -> True/False
- Phone -> Text + Conditional Logic (this field is only displayed if the "Use Phone?" field has checked)
- Add 2 rows with these values
- The first row:
- Name: Michael
- Use phone?: checked
- Phone: 0123456
- The second row:
- Name: Sara
- Use phone?: leave blank
- Phone: leave blank
- Save 2 rows and see the browser reload again
- Delete the first row and save again.
- Check to the checkbox of "Use Phone?" field, you will see the value of Michael's phone now belongs to the Sara
Wordpress version: 6.7
ACF version: 6.7.0.2 (latest version)
When I test this, I only enable the ACF plugin.
PLEASE SEE MY ATTACHED VIDEO FOR MORE DETAIL