I'm seeing other posts describing a similar issue across the last few years - for me the form I was using is copied but it had been working for weeks and then recently stopped having the data attribute
https://community.retool.com/t/form-control-data-fields-suddenly-undefined/3775/5