Content
View differences
Updated by Jens Ulferts about 8 hours ago
###
### Steps to reproduce
1. Login as a user with permissions to set backlog exclusion types and done statuses
2. Go to the settings of a project that has the backlogs module activated
3. Find an autocompleter that already has a value on page load. If there is none, add an excluded type or status considered as done, save the form and reload the page.
4. Try adding an entry that is already there. E.g., when Milestone is already excluded, try selecting it again.
### What is the buggy behavior?
* The entry will be added once more, so now you have two "Milestone" entries.
* Additionally, items that were added before are not highlighted in the dropdown. Because of that, they can also not be deselected by clicking on them in the dropdown
### What is the expected behavior?
1. It should not be possible to have duplicate entries.
2. It should be possible to deselect entries by clicking them in the dropdown.
### Screenshots and other files
[autocompleter\_bug.mov](https://community.openproject.org/attachments/921030/autocompleter_bug.mov)
<br>
<br>
### Steps to reproduce
1. Login as a user with permissions to set backlog exclusion types and done statuses
2. Go to the settings of a project that has the backlogs module activated
3. Find an autocompleter that already has a value on page load. If there is none, add an excluded type or status considered as done, save the form and reload the page.
4. Try adding an entry that is already there. E.g., when Milestone is already excluded, try selecting it again.
### What is the buggy behavior?
* The entry will be added once more, so now you have two "Milestone" entries.
* Additionally, items that were added before are not highlighted in the dropdown. Because of that, they can also not be deselected by clicking on them in the dropdown
### What is the expected behavior?
1. It should not be possible to have duplicate entries.
2. It should be possible to deselect entries by clicking them in the dropdown.
### Screenshots and other files
[autocompleter\_bug.mov](https://community.openproject.org/attachments/921030/autocompleter_bug.mov)
<br>
<br>