Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning when performing an action which will break enableWhen logic #227

Open
mgunnerud opened this issue Jan 22, 2021 · 0 comments
Open

Comments

@mgunnerud
Copy link
Contributor

When performing an action which will break the enableWhen behavior of a form, the user should be warned and guided to the enableWhens which broke as a result. The following "destructive" actions should be handled:

  • Deleting an item which is the "question" condition for enableWhen.
  • Moving an item which is the "question" condition for enableWhen down in the questionnaire hierarchy so the enableWhen dependent on the moved item is shown above the moved item in questionnaire.
  • Changing the type of an item which will invalidate the answer[x] property of enableWhen.
@GeirLoken GeirLoken assigned GeirLoken and unassigned GeirLoken Feb 2, 2021
@GeirLoken GeirLoken self-assigned this Apr 7, 2021
@GeirLoken GeirLoken removed their assignment May 7, 2021
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

No branches or pull requests

2 participants