open-forms icon indicating copy to clipboard operation
open-forms copied to clipboard

Cannot remove simple logic (+ warning) if dependency is removed from form

Open LaurensBurger opened this issue 6 months ago • 1 comments

Product versie / Product version

2.7.x - latest

Customer reference

LV 187

Omschrijf het probleem / Describe the bug

When the component simple logic depends on is removed, a warning is shown to the form builder. The form builder should either replace the (now deleted) component in the logic or could remove the logic rule. When they remove the logic rule, the warning will still show, and can only be resolved by editing the json.

simple logic: image

remove map: image

remove logic: image

The warning still shows, because teksveld component still contains:

  "conditional": {
    "when": "map",
    "show": null,
    "eq": ""
  },

Stappen om te reproduceren / Steps to reproduce

No response

Verwacht gedrag / Expected behavior

No response

Screen resolution

None

Device

None

OS

None

Browser

No response

LaurensBurger avatar Aug 27 '24 08:08 LaurensBurger