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

Dynamic fields "Other" and rules behaving weirdly when associated option is removed #3627

Open
anikbrazeau opened this issue May 14, 2024 · 0 comments
Labels
App bug Something isn't working 🚦 Severe Severe Impact Issue

Comments

@anikbrazeau
Copy link
Member

anikbrazeau commented May 14, 2024

Description

When adding a rule such as "Go to Other" or "Go to X question", and changing the configuration or removing it, the rule seems to stick around even after the option is removed and a new option is added.

See related ticket here for more information: https://app.zenhub.com/workspaces/gcforms-60cb8929764d71000e481cab/issues/gh/cds-snc/platform-forms-client/3606

Steps to reproduce

  1. Go to GC Forms
  2. Add a radio button or other select type question
  3. Add options
  4. Add "Other" rule
  5. Remove option
  6. Add option
  7. See how rule remains associated with the latest option

Details

  • Browser: Edge
  • Operating system: Mac
  • Environment: Staging
  • Language: French
  • Viewport: Desktop

Expected behaviour

Removing the option should eliminate any rules that were associated to that option

Screenshots or videos

Private Zenhub Video

@anikbrazeau anikbrazeau added the bug Something isn't working label May 14, 2024
@anikbrazeau anikbrazeau changed the title Dynamic fields "Other" and rules behaving weirdly when removed Dynamic fields "Other" and rules behaving weirdly when associated option is removed May 14, 2024
@srtalbot srtalbot added the 🚦 Severe Severe Impact Issue label May 15, 2024
@Abi-Nada Abi-Nada added the App label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App bug Something isn't working 🚦 Severe Severe Impact Issue
Projects
None yet
Development

No branches or pull requests

3 participants