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

Duplicate required products cannot be removed from the Production form #1993

Open
dleard opened this issue Sep 28, 2021 · 0 comments
Open

Duplicate required products cannot be removed from the Production form #1993

dleard opened this issue Sep 28, 2021 · 0 comments
Labels
Bug Something isn't working

Comments

@dleard
Copy link
Contributor

dleard commented Sep 28, 2021

When a reporter adds a duplicate required product to the product form, the product cannot be removed (since it is a required product and we block the removal of those). The extra product can be removed until the page is refreshed or navigated away from but it becomes locked in after that.

Probability (1-5): 1

Effect (1-5): 2

Steps to reproduce the behaviour:

As a reporter, go to the production form of a draft application.
Enter a duplicate required product.
Refresh the page or navigate away and then come back.
The remove button will be gone & the product dropdown will be locked.

Screenshots:
lockedproduct.png

@dleard dleard added the Bug Something isn't working label Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant