Skip to content

fix: Fixed field deletion blocked when at least one form question use another field#1175

Open
ccailly wants to merge 2 commits intomainfrom
fix/field-deletion-form-context
Open

fix: Fixed field deletion blocked when at least one form question use another field#1175
ccailly wants to merge 2 commits intomainfrom
fix/field-deletion-form-context

Conversation

@ccailly
Copy link
Copy Markdown
Contributor

@ccailly ccailly commented Apr 1, 2026

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.

Description

Currently, if a question is of the Field type and uses a field, it is no longer possible to delete any field, regardless of its parent block.
This PR fixes this behavior by ensuring that deletion is blocked only for fields that are actually used in a form.

@ccailly ccailly requested review from Rom1-B and stonebuzz April 1, 2026 12:58
@ccailly ccailly self-assigned this Apr 1, 2026
@ccailly ccailly force-pushed the fix/field-deletion-form-context branch from d1cd1ee to a92ef8c Compare April 1, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants