Friday, November 7, 2025
1 change · saas-18.4
Resolved issues and error corrections
This update fixes an issue in website forms where changing a field name could corrupt visibility rules and cause the site editor to crash. It helps keep form settings stable when users rename fields or adjust conditional display rules.
Original PR description
This commit resolve the traceback arise after the refactoring of snippet options. Steps to reproduce this traceback: 1. Drop Form snippet and add text field A 2. add text field B, change visibility condition to depend on A 3. change label text of B to A 4. save snippet 5. instance crashes and cant's do anything in instance after that. This commit aims to: - Correct `previousInputName` to be taken from the first input element’s `name` instead of the container element. - Ensure dependent fields update their `data-visibility-dependency` correctly based on the old input name. - Detect and remove circular visibility dependencies when renaming fields to conflicting names. - Prevent instance crashes caused by corrupted visibility dependency data during label renames.