DependencyTrack / DependencyTrack/frontend

Tags (and possibly other settings) are not always saved

Open
#1,458 0 comments 0 reactions 0 assignees View on GitHub
defect in triage
Dominant language
Vue
Stars
171
Forks
250
Avg merge
10h 56m
Merged PRs (30d)
84

Description

### Current Behavior

Depending on the what the user does, tags (and maybe other settings, I have not checked) are not always saved. This can lead to annoyance and frustration.

**Workaround**

Always press "Enter" or click anywhere else on the dialog _before_ clicking on "Update".

### Steps to Reproduce

1. Open the details for any project
2. Type in a new tag and **do not** press enter or click anywhere else
3. Now click the "Update" button
4. Observe that there is a brief flicker _as if_ the tag has been accepted
5. Observe that "Project updated" is displayed
6. Now open the details again
7. Observe that the tag was **not** actually saved
### Expected Behavior

When a user enters a tag (or any other value) and "Update" is clicked, all values should be validated and committed _before_ the update is sent. Even if the user has not pressed "Enter" or clicked on any other part of the screen.

I am assuming this is just an event order issue.

### Dependency-Track Frontend Version

4.13.6

### Browser

Mozilla Firefox

### Browser Version

147.0.3 (64-bit)

### Operating System

Linux

### Checklist

- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/frontend/issues) for whether this defect was already reported

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.