A form that has been working for a while has suddenly stopped working, with the following error in the console:
spform.js:42 TypeError: Cannot read property 'enable' of null
at s.disabled (571.16d54147ef7afe14…71.js:formatted:519)
at mn.run (spform.js:42)
at pn (spform.js:42)
at Array. (spform.js:42)
at Ye (spform.js:42)
qe @ s
This isnt anything on the custom JS side as I have tried removing everything and republishing, and the error still occurs.
I have a SPDataTable (List) on the page, not sure if that is anything to do with it as I know there have been some changes recently?
Can anyone help? As the JS is minified I cant review in more detail to see what the root cause is.