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

Searchable select visual cache doesn't get cleared when the value is no longer valid #1050

Closed
Skaiir opened this issue Feb 15, 2024 · 0 comments · Fixed by #1056
Closed

Searchable select visual cache doesn't get cleared when the value is no longer valid #1050

Skaiir opened this issue Feb 15, 2024 · 0 comments · Fixed by #1056
Assignees
Labels
bug Something isn't working support

Comments

@Skaiir
Copy link
Contributor

Skaiir commented Feb 15, 2024

Related Support Ticket - https://jira.camunda.com/browse/SUPPORT-20593

Describe the Bug

The searchable select doesn't clean up properly when an allowed option is no longer allowed. The underlying value gets set to null as expected but it remains visually.

Steps to Reproduce

  1. Add a searchable select select1 with static values a and b
  2. Add a second searchable select with dynamic value if select1 = "a" then ["a1", "a2"] else ["b1", "b2"]
  3. Select "a" on select1
  4. Select "a1" on the other select
  5. Select "b" on select1
  6. Other select isn't cleared, but underlying data is indeed cleared properly

Expected Behavior

  1. The field should be visually cleared
@Skaiir Skaiir added bug Something isn't working ready Ready to be worked on labels Feb 15, 2024
@Skaiir Skaiir self-assigned this Feb 15, 2024
@bpmn-io-tasks bpmn-io-tasks bot added in progress Currently worked on and removed ready Ready to be worked on labels Feb 19, 2024
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Feb 19, 2024
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants