Hello,
While testing with release 4.0.2 came across an issue where the dynamic form widgets stopped working for one app. I saw following error in the browser console:
Uncaught TypeError: Cannot read properties of null (reading 'filter')
at f (dynamic_forms.js:100:30)
at p.get (dynamic_forms.js:421:34)
at J (dynamic_forms.js:458:31)
at R (dynamic_forms.js:193:3)
at dynamic_forms.js:148:17
at Array.forEach (<anonymous>)
at HTMLOptionElement.<anonymous> (dynamic_forms.js:136:18)
at u.each (jquery.js:383:19)
at u.fn.init.each (jquery.js:205:17)
at HTMLSelectElement.<anonymous> (dynamic_forms.js:129:15)
It looks like the snakeCaseWords function throws the error if an empty string is passed as argument.