joshua-stewart,
I am trying your fix but i get an error “Uncaught SyntaxError: Unexpected token ;” on “key_name: acf_field.val();”
Here is my .php https://pastebin.com/kYRpCreY
Here is my .js https://pastebin.com/ABFTEzL4
My files is the examples from John Huebner with your fix.