open-forms
open-forms copied to clipboard
Changing variable type of user variable can crash the form editor
Product versie / Product version
any
Customer reference
DH 698
Omschrijf het probleem / Describe the bug
When a user variable is changed from: object to array the form builders crashes:
Uncaught TypeError: n.some is not a function
it seems the value of the saved previous type causes this crash, since changing it to [] before switching to array does not crash.
Stappen om te reproduceren / Steps to reproduce
Add a user variable "object" with a value of {} (default) Save form Change user variable type to array
Verwacht gedrag / Expected behavior
No response
Screen resolution
None
Device
None
OS
None
Browser
No response