• As title explains. I can’t get it to work when it’s nested into a repeater field. It spits out an error in inspector:

    Uncaught TypeError: Cannot read property ‘getAttribute’ of undefined at initialize_field (input.js:12)

Viewing 1 replies (of 1 total)
  • Thread Starter roelani

    (@roelani)

    I fixed it. Changed the ‘id’ attribute for the wrapper div in class-Zz-acf-field-Leaflet-v5.php from $field[‘id’] to something unique, so every appended field has a unique wrapper, then edited the script in input.js to reflect the change.

    Works fine!

Viewing 1 replies (of 1 total)
  • The topic ‘Doesn’t seem to work in repeater fields?’ is closed to new replies.